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 i try to train dch with train_val_script.py and its default args i get the following error:
Traceback (most recent call last):
File "train_val_script.py", line 61, in
model_weights = model.train(train_img, database_img, query_img, args)
File "/home/nikos/DeepHash/examples/dch/model/dch/init.py", line 9, in train
model.train(img_train)
File "/home/nikos/DeepHash/examples/dch/model/dch/dch.py", line 187, in train
self.img_label: labels})
File "/home/nikos/DeepHash/env/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 968, in run
run_metadata_ptr)
File "/home/nikos/DeepHash/env/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1165, in _run
f'Cannot feed value of shape {str(np_val.shape)} for Tensor '
ValueError: Cannot feed value of shape (128, 0) for Tensor Placeholder_1:0, which has shape (?, 10)
The dataset i use is the cifar10. Any ideas what is going wrong ? thanks
The text was updated successfully, but these errors were encountered:
When i try to train dch with train_val_script.py and its default args i get the following error:
Traceback (most recent call last):
File "train_val_script.py", line 61, in
model_weights = model.train(train_img, database_img, query_img, args)
File "/home/nikos/DeepHash/examples/dch/model/dch/init.py", line 9, in train
model.train(img_train)
File "/home/nikos/DeepHash/examples/dch/model/dch/dch.py", line 187, in train
self.img_label: labels})
File "/home/nikos/DeepHash/env/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 968, in run
run_metadata_ptr)
File "/home/nikos/DeepHash/env/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1165, in _run
f'Cannot feed value of shape {str(np_val.shape)} for Tensor '
ValueError: Cannot feed value of shape (128, 0) for Tensor Placeholder_1:0, which has shape (?, 10)
The dataset i use is the cifar10. Any ideas what is going wrong ? thanks
The text was updated successfully, but these errors were encountered: