USTC-Video-Understanding/I3D_Finetune

An error when running finetune.py

liuxuepdf opened this issue · 1 comments

When I run the finetune.py an error ocurred. Below is the info:

Traceback (most recent call last):
File "finetune.py", line 305, in
main(**vars(p.parse_args()))
File "finetune.py", line 237, in main
feed_dict={dropout_holder: _DROPOUT, is_train_holder: True})
File "/home/liuxuepdf/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 889, in run
run_metadata_ptr)
File "/home/liuxuepdf/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1120, in _run
feed_dict_tensor, options, run_metadata)
File "/home/liuxuepdf/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1317, in _do_run
options, run_metadata)
File "/home/liuxuepdf/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1336, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: TypeError: 'NoneType' object is not iterable
[[Node: PyFunc = PyFunc[Tin=[DT_STRING, DT_STRING, DT_STRING], Tout=[DT_FLOAT, DT_INT64], token="pyfunc_0"](arg0, PyFunc/input_1, PyFunc/input_2)]]
[[Node: IteratorGetNext = IteratorGetNextoutput_shapes=[, ], output_types=[DT_FLOAT, DT_INT64], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

Could you please tell me how to solve this error? Thx

@liuxuepdf @BigBugGrow I have encountered the same problem, have you solved it?