-
Notifications
You must be signed in to change notification settings - Fork 139
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
Unable to test on single image #1
Comments
I'm not sure what happened here. |
Are you inferencing in gpu or cpu? |
GPU. |
I read that this issue is caused because tf.nn.max_pool_with_argmax is only supported on GPU. |
Looks like some issue with the new tensorflow commits of Conv2D definition as well. They change the property name of stride to "dilations" and it's causing some errors because the code is old. Is there any chance you can publish your code or change it so we can try running it? |
I ran into the same issue, and tried eliminating the GPU dependencies via 'clear_devices=True'. Didn't work. |
I have same issue,could you tell me how to solve? |
@LRLLRL @YedidyahD I did some more research and it looks like the operation MaxPoolWithArgmax is missing from tensorflow cpu operations. So my suggestion is that you modify the source code of tensorflow to add this op. I have posted a patch for a work around on this thread: it should work on tf 1.4 source code. Let me know if you can get it to work. |
i have same promblem. i used win10 but command python--rgb = animal.jpg |
By installing tensorflow-gpu 1.0.0, it seems solved the problem of @Zumbalamambo . But i met another problem of memory. I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 0 with properties: |
Sorry,I can not solve this problem.
…------------------ Original ------------------
From: "liutianling";<[email protected]>;
Send time: Friday, May 4, 2018 11:04 AM
To: "Joker316701882/Salient-Object-Detection"<[email protected]>;
Cc: "ぃ "<[email protected]>; "Mention"<[email protected]>;
Subject: Re: [Joker316701882/Salient-Object-Detection] Unable to test onsingle image (#1)
@Zumbalamambo Did you solve you problem?I met the same problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@liutianling You can fix it by changing it to |
I tried to run on top of an image as python inference.py --rgb=Chris.jpg...
im getting the following error,
The text was updated successfully, but these errors were encountered: