-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when run PVAnet_test #33
Comments
Was it solved? |
test error is easy to resolve, however it has very high error (mAP is below 0.1) -- caffe version is one of most accurate models. It seems conv2_1/1/conv layer is different from the paper, can also be caused by issue in pva_negation_block/v2. |
train is different from test, and both are different from Caffe version |
Hi, there! I faced the same issue, but finally find the errors in PVAnet_test.py. Here is the lines I've changed to make the test work: lines to change: Hope this will help! BTW, as mentioned by @jwnsu, test error is quite high. I trained the model using VOC2012 data with 200000 iters, the mAP is about 0.03, which is totally unacceptable. I am gonna train the model with more iters, and meanwhile, check the PVAnet to see if it is the same with the caffe version mentioned by @autumnqin. Will update if any news. |
@baileyqbb Haven't you figured out the issue with the low mAP by any chance? |
Hi guys, can anyone please share some tips on improving the mAP? |
thank you very much @baileyqbb |
@baileyqbb @QueenJuliaZxx do you run pva-faster-rcnn successfully?my pva.npy seem to be wrong.where do you download?what the script command do you run ?thanks for your help |
@baileyqbb |
python dv.py --model ~/PVAnet_iter_70000.ckpt --net PVAnet_test
NotFoundError (see above for traceback): Key conv5_4/last_bn_scale/beta not found in checkpoint;
W tensorflow/core/framework/op_kernel.cc:993] Not found: Key conv5_4/last_bn_scale/beta not found in checkpoint
W tensorflow/core/framework/op_kernel.cc:993] Not found: Key conv5_4/last_bn_scale/alpha not found in checkpoint
W tensorflow/core/framework/op_kernel.cc:993] Not found: Key conv5_4/last_bn_scale/beta not found in checkpoint
[[Node: save/RestoreV2_473 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_473/tensor_names, save/RestoreV2_473/shape_and_slices)]]
W tensorflow/core/framework/op_kernel.cc:993] Not found: Key conv5_4/last_bn_scale/beta not found in checkpoint
[[Node: save/RestoreV2_473 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_473/tensor_names, save/RestoreV2_473/shape_and_slices)]]
W tensorflow/core/framework/op_kernel.cc:993] Not found: Key conv5_4/last_bn_scale/beta not found in checkpoint
[[Node: save/RestoreV2_473 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_473/tensor_names, save/RestoreV2_473/shape_and_slices)]]
W tensorflow/core/framework/op_kernel.cc:993] Not found: Key conv5_4/last_bn_scale/beta not found in checkpoint
[[Node: save/RestoreV2_473 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_473/tensor_names, save/RestoreV2_473/shape_and_slices)]]
W tensorflow/core/framework/op_kernel.cc:993] Not found: Key conv5_4/last_bn_scale/beta not found in checkpoint
[[Node: save/RestoreV2_473 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_473/tensor_names, save/RestoreV2_473/shape_and_slices)]]
W tensorflow/core/framework/op_kernel.cc:993] Not found: Key conv5_4/last_bn_scale/beta not found in checkpoint
[[Node: save/RestoreV2_473 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_473/tensor_names, save/RestoreV2_473/shape_and_slices)]]
The text was updated successfully, but these errors were encountered: