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
I tried it on colab, I added "!pip install cairocffi", but get porblem on last step:
the error shows:
IndexError Traceback (most recent call last)
in ()
5 net_out = model.get_layer(name='softmax').output
6
----> 7 for inp_value, _ in tiger_test.next_batch():
8 bs = inp_value['the_input'].shape[0]
9 X_data = inp_value['the_input']
1 frames
in next_batch(self)
86
87 for i in range(self.batch_size):
---> 88 img, text = self.next_sample()
89 img = img.T
90 if K.image_data_format() == 'channels_first':
I tried it on colab, I added "!pip install cairocffi", but get porblem on last step:
the error shows:
IndexError Traceback (most recent call last)
in ()
5 net_out = model.get_layer(name='softmax').output
6
----> 7 for inp_value, _ in tiger_test.next_batch():
8 bs = inp_value['the_input'].shape[0]
9 X_data = inp_value['the_input']
1 frames
in next_batch(self)
86
87 for i in range(self.batch_size):
---> 88 img, text = self.next_sample()
89 img = img.T
90 if K.image_data_format() == 'channels_first':
in next_sample(self)
70 self.cur_index = 0
71 random.shuffle(self.indexes)
---> 72 return self.imgs[self.indexes[self.cur_index]], self.texts[self.indexes[self.cur_index]]
73
74 def next_batch(self):
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: