You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running python main.py -g rankgan, got IndexError:
Traceback (most recent call last):
File "/home/xxx/Texygen/main.py", line 78, in parse_cmd
gan.train_oracle()
File "/home/xxx/Texygen/models/rankgan/Rankgan.py", line 121, in train_oracle
self.evaluate()
File "/home/chaiyekun/GAN.tf/Texygen/models/rankgan/Rankgan.py", line 93, in evaluate
scores = super().evaluate()
File "/home/xxx/Texygen/models/Gan.py", line 57, in evaluate
score = metric.get_score()
File "/home/xxx/Texygen/utils/metrics/DocEmbSim.py", line 32, in get_score
self.get_gen_sim()
File "/home/xxx/Texygen/utils/metrics/DocEmbSim.py", line 153, in get_gen_sim
self.gen_sim = self.get_wordvec(self.generator_file)
File "/home/xxx/Texygen/utils/metrics/DocEmbSim.py", line 142, in get_wordvec
batch_size, num_skips, skip_window, data[index])
File "/home/xxx/Texygen/utils/metrics/DocEmbSim.py", line 72, in generate_batch
buffer.append(data[self.data_index])
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
When running
python main.py -g rankgan
, got IndexError:The text was updated successfully, but these errors were encountered: