netvlad_tf_open
netvlad_tf_open copied to clipboard
the problem in M2 about Is a directory: perhaps your file is in a different file format and you need to use a different restore operator?
My computer is macbook M2,i alredy extract the zip and move its contents to the checkpoints folder of the repo, when i run default network code,the have bug in those: 2022-11-22 20:42:45.803163: W tensorflow/core/util/tensor_slice_reader.cc:96] Could not open /Users/yuqiula/Downloads/netvlad_tf_open-master/checkpoints/vd16_pitts30k_conv5_3_vlad_preL2_intra_white: FAILED_PRECONDITION: /Users/yuqiula/Downloads/netvlad_tf_open-master/checkpoints/vd16_pitts30k_conv5_3_vlad_preL2_intra_white; Is a directory: perhaps your file is in a different file format and you need to use a different restore operator? 2022-11-22 20:42:45.803195: W tensorflow/core/util/tensor_slice_reader.cc:96] Could not open /Users/yuqiula/Downloads/netvlad_tf_open-master/checkpoints/vd16_pitts30k_conv5_3_vlad_preL2_intra_white: FAILED_PRECONDITION: /Users/yuqiula/Downloads/netvlad_tf_open-master/checkpoints/vd16_pitts30k_conv5_3_vlad_preL2_intra_white; Is a directory: perhaps your file is in a different file format and you need to use a different restore operator? 2022-11-22 20:42:45.803207: W tensorflow/core/framework/op_kernel.cc:1745] OP_REQUIRES failed at save_restore_tensor.cc:188 : DATA_LOSS: Unable to open table file /Users/yuqiula/Downloads/netvlad_tf_open-master/checkpoints/vd16_pitts30k_conv5_3_vlad_preL2_intra_white: FAILED_PRECONDITION: /Users/yuqiula/Downloads/netvlad_tf_open-master/checkpoints/vd16_pitts30k_conv5_3_vlad_preL2_intra_white; Is a directory: perhaps your file is in a different file format and you need to use a different restore operator? Traceback (most recent call last): File "/Users/yuqiula/miniforge3/lib/python3.9/site-packages/tensorflow/python/client/session.py", line 1377, in _do_call return fn(*args) File "/Users/yuqiula/miniforge3/lib/python3.9/site-packages/tensorflow/python/client/session.py", line 1360, in _run_fn return self._call_tf_sessionrun(options, feed_dict, fetch_list, File "/Users/yuqiula/miniforge3/lib/python3.9/site-packages/tensorflow/python/client/session.py", line 1453, in _call_tf_sessionrun return tf_session.TF_SessionRun_wrapper(self._session, options, feed_dict, tensorflow.python.framework.errors_impl.DataLossError: 2 root error(s) found. (0) DATA_LOSS: Unable to open table file /Users/yuqiula/Downloads/netvlad_tf_open-master/checkpoints/vd16_pitts30k_conv5_3_vlad_preL2_intra_white: FAILED_PRECONDITION: /Users/yuqiula/Downloads/netvlad_tf_open-master/checkpoints/vd16_pitts30k_conv5_3_vlad_preL2_intra_white; Is a directory: perhaps your file is in a different file format and you need to use a different restore operator? [[{{node save/RestoreV2}}]] [[GroupCrossDeviceControlEdges_0/save/restore_all/_2]] (1) DATA_LOSS: Unable to open table file /Users/yuqiula/Downloads/netvlad_tf_open-master/checkpoints/vd16_pitts30k_conv5_3_vlad_preL2_intra_white: FAILED_PRECONDITION: /Users/yuqiula/Downloads/netvlad_tf_open-master/checkpoints/vd16_pitts30k_conv5_3_vlad_preL2_intra_white; Is a directory: perhaps your file is in a different file format and you need to use a different restore operator? [[{{node save/RestoreV2}}]] 0 successful operations. 0 derived errors ignored.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/yuqiula/Downloads/netvlad_tf_open-master/python/netvlad_tf/test.py", line 17, in
Detected at node 'save/RestoreV2' defined at (most recent call last):
File "/Users/yuqiula/Downloads/netvlad_tf_open-master/python/netvlad_tf/test.py", line 14, in
Original stack trace for 'save/RestoreV2':
File "/Users/yuqiula/Downloads/netvlad_tf_open-master/python/netvlad_tf/test.py", line 14, in