yule-li / CosFace

Tensorflow implementation for paper CosFace: Large Margin Cosine Loss for Deep Face Recognition
285 stars 99 forks source link

Could you tell me how to test the model that you ware trained? #13

Open deardream000 opened 5 years ago

deardream000 commented 5 years ago

When I debug "main(parse_arguments(sys.argv[1:]))"

NotFoundError (see above for traceback): Key resnet_v2_50/block3/unit_2/bottleneck_v2/conv3/weights not found in checkpoint [[Node: save/RestoreV2_145 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_145/tensor_names, save/RestoreV2_145/shape_and_slices)]] Could someone tell me who to slove the error.

yule-li commented 5 years ago

We use sphere_network and you can see more args set in test.sh. I suggest you run test.sh to get test accuracy.