-
Notifications
You must be signed in to change notification settings - Fork 29
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
Module error in New tensorflow/tpu inference code #9
Comments
Hi @gireek. Looks like some of the directories are not included in your system path. The root dir should be
I will find some time to finish during this weekend or next week. But the usage should be almost same as I tried |
Hi @richardaecn it will be very helpful to see a README and tutorial as you said you will upload shortly, will help us to resolve all current issues that we are facing. Your results looks really good!, would love to run and see it, your tutorial (once you upload) will help a lot in this regard. Thanks! |
Could you please tell me what is your env where you are running inference.py ? I'm getting "key-error" when trying to run inference.py e.g... "Key fpn/l3/bias not found in checkpoint, Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint" I'm now trying in windows tensorflow 1.15.0 (CPU version). Have set all the paths as required. Thanks |
Looks like you didn't update the config. The default config in Please pass the corresponding model config in |
Thanks for your reply, Yes, my config was wrong, after selecting "spinenet config", I'm not able to run inference in CPU. I ran both resnet-101 & spinenet-143, outputs are pretty impressive! As you said looking forward on following examples from you:
Thanks! once again. |
@gireek Download tpu-master fromhttps://github.com/tensorflow/tpu Install coco-api:pip install pycocotools-windows Tensorflow 1.5.0 (cpu) install:pip install tensorflow==1.5.0 Add following lines in inference.py:from future import absolute_import after this add ... Add PYTHONPATH in windows env variable:PATH TO /tpu-master/models |
@richardaecn as you said earlier if you kindly share following examples :
I will be very helpful for us to see as how we prepare and train Attribute Mask RCNN network. Thank You |
Hey, can anyone please guide me in running inference.py, I would really be thankful, If anyone of you , can help me implement it! |
I am struck at same place, did you resolve it ? |
@gireek i did not run in colab, but i could run it in laptop without error and steps to run i already shared earlier. please check my comments above. |
This is how I called the inference: and this is the error: Please guide
|
And when I do inference with model type attribute_mask_rcnn like the following
I get this error:
|
@mitraavi @KMnP @richardaecn request you to verify the inference call in last 2 comments and suggest what changes should be made. Parameter restoring from model did not fail for you so please suggest. |
@KMnP @richardaecn @mitraavi @amrahsmaytas Please provide any guidance on this issue. |
Hi, all |
Use : --model="mask_rcnn" instead of --model="attribute_mask_rcnn" It should look like : !python ./inference.py |
Hi, first of all great work with the new SpineNet 143 model with amazing accuracy. I am facing error while running the fashionpedia project of tensorflow/tpu on colab. This is my notebook.
When I do this inside the file inference.py
the previous error in my notebook goes but then the error comes
How to import all files properly? please guide.
Thanks @KMnP @richardaecn It would be great if you can time some time to release a colab on how to do inference for beginners.
The text was updated successfully, but these errors were encountered: