microsoft / AISchoolTutorials

This repository contains the developer tutorials and samples to demonstrate how to create the experiments contained on AI Lab.
MIT License
50 stars 47 forks source link

Error when running Training.py #28

Closed FulufheloM closed 3 years ago

FulufheloM commented 3 years ago

Traceback (most recent call last): File "training.py", line 6, in EncTrainer.train() File "/data/pix2story-lab/source/training/train_encoder.py", line 40, in train trainer(self.text, self.training_options) File "/data/pix2story-lab/source/skipthoughts_vectors/training/train.py", line 139, in trainer for x, y, z in train_iter: File "/data/pix2story-lab/source/skipthoughts_vectors/training/homogeneous_data.py", line 49, in next if self.len_curr_counts[self.len_unique[self.len_idx]] > 0: IndexError: index 0 is out of bounds for axis 0 with size 0