-
Notifications
You must be signed in to change notification settings - Fork 44
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
Example code returns flat image without any segment. #5
Comments
Do you mean that you get a blank white output image and cannot get any meaningful outputs? You have uploaded a blank white image, and that image is what you get? |
Yes. The uploaded blank white image is what I got as a skelton map. The other two images (current_flatten.png, current_region.png) are also blank images with different colors. |
If no python errors are reported, it is likely that the models are not properly loaded. Have you downloaded the pretrained model and put it in the correct places? |
I used the following pretrained models which are uploaded to the github repo. https://github.com/lllyasviel/DanbooRegion/blob/master/code/DanbooRegion2020UNet.net Currently, I'm training a new model from scratch using a provided training code to see whether it works or not. EDITED: I tested the new model which is trained from scratch, but it still returned blank images. |
It seems that Ampere architecture of RTX 3090 is not supported by CuDNN 7, which is required by tensorflow version 1. https://docs.nvidia.com/deeplearning/cudnn/support-matrix/index.html Since it seems to be an issue at lower layer related to hardware, I close this issue. Thank you for your responses. |
Thank you for your report! Another thing is that I have seen many of my clients with 3090/30XX using tf 1.4 without any trouble. But the official document does say they do not support these versions. Have you done anything unique to your environment? |
I think I have followed standard procedures to setup my environment. After a bit of research, I found that there is a way to use tensorflow 1.15 with 3090 GPU. After I set up new tensorflow 1.15 environment with the above procedure, I got different output as follows, and it still seems to be not working :( I will try same environment setup on my different PC with RTX 1070 Ti to see if something different happens when I return home. |
First of all, thank you very much for sharing your interesting project!
I tried to setup an environment with Docker, and the following example code ran without error and output three images as expected.
python segment.py ./emilia.jpg
However, the output looks like somewhat different from what is shown on README. (The following image is current_skelton.png which is output by the sample code.)
Dockerfile
Note: I've changed numba version according to this issue.
What I did
Environment
The text was updated successfully, but these errors were encountered: