tadax / m2det

M2Det implementation using TensorFlow
MIT License
63 stars 26 forks source link

another question when evluating #7

Open electronicYH opened 5 years ago

electronicYH commented 5 years ago

I insert the code :" parser.add_argument('--num_boxes', type=int, default=196560) # (128x128+64x64+32x32+16x16+8x8+4x4)x9=196560 parser.add_argument('--shapes', type=int, nargs='+', default=[128, 64, 32, 16, 8, 4]) # for 1024x1024" in the evalution.py,

the used the command: python evaluate.py --image_dir trace_damge_detect_dataset/JPEGImages/ --label_dir mscoco/labels/ --model_path weights/checkpoint

but, I meet the problem: DataLossError (see above for traceback): Unable to open table file weights/checkpoint: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator? [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]] [[Node: save/RestoreV2/_301 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device_incarnation=1, tensor_name="edge_306_save/RestoreV2", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]]

please help me ,thanks! please~!