Skip to content
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

restore the weight of Inception_v4 #31

Open
xgmiao opened this issue Dec 19, 2018 · 6 comments
Open

restore the weight of Inception_v4 #31

xgmiao opened this issue Dec 19, 2018 · 6 comments

Comments

@xgmiao
Copy link

xgmiao commented Dec 19, 2018

nvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [3,3,128,768] rhs shape= 5,5,128,768, use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](InceptionV4/AuxLogits/Conv2d_2a/weights, save/RestoreV2:9)]]

like:
tensorflow/tensorflow#18725

@xgmiao
Copy link
Author

xgmiao commented Dec 19, 2018

@yuantailing

@yuantailing
Copy link
Owner

What script are you executing? Where is your model from and where are your weights from?

@xgmiao
Copy link
Author

xgmiao commented Dec 19, 2018

@yuantailing the script is eval_image_classifier.py,get the model from https://ctwdataset.github.io/, together with the dataset

@yuantailing
Copy link
Owner

yuantailing commented Dec 19, 2018

I think you'd better cd classification and run python3 eval.py inception_v4, it will call eval_image_classifier.py with correct arguments. It will fail if you run eval_image_classifier.py with wrong arguments.

@xgmiao
Copy link
Author

xgmiao commented Dec 19, 2018

@yuantailing thank you very much, I write a inference script to classify one image. solve the problem , it because the inception_v4 default input size is 299, and your trained model is 235. Thank you!
is the inception_v4 have the best performance? and the accuracy is ??

@yuantailing
Copy link
Owner

Results indicate that inception_v4 has the best performance even if input size is 235. Accuracy can be found in paper. (80.5%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants