Advertisement
Guest User

Untitled

a guest
Oct 19th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. IndexError Traceback (most recent call last)
  2. <ipython-input-4-06052cdabb56> in <module>()
  3. 79 model.fit(training_data, a, n_epoch=1000,validation_set=0.1, shuffle=True,
  4. 80 show_metric=True, batch_size=64, snapshot_step=200,
  5. ---> 81 snapshot_epoch=False, run_id='alexnet_oxflowers17')
  6.  
  7. C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\tflearn\models\dnn.py in fit(self, X_inputs, Y_targets, n_epoch, validation_set, show_metric, batch_size, shuffle, snapshot_epoch, snapshot_step, excl_trainops, validation_batch_size, run_id, callbacks)
  8. 181 # TODO: check memory impact for large data and multiple optimizers
  9. 182 feed_dict = feed_dict_builder(X_inputs, Y_targets, self.inputs,
  10. --> 183 self.targets)
  11. 184 feed_dicts = [feed_dict for i in self.train_ops]
  12. 185 val_feed_dicts = None
  13.  
  14. C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\tflearn\utils.py in feed_dict_builder(X, Y, net_inputs, net_targets)
  15. 287 X = [X]
  16. 288 for i, x in enumerate(X):
  17. --> 289 feed_dict[net_inputs[i]] = x
  18. 290 else:
  19. 291 # If a dict is provided
  20.  
  21. IndexError: list index out of range
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement