-
Notifications
You must be signed in to change notification settings - Fork 41
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
ImportError: No module named 'inplace_abn' #22
Comments
Hi, I'm not sure, could it be a problem related to the path in your python environment? The source of inplace_abn is in https://github.com/juntang-zhuang/ShelfNet/tree/941c71cc85a3d6227c03ed435b1ad80c6c39573f/ShelfNet18_realtime/modules/src Could you try setting up from here? |
@juntang-zhuang Thank you for the reply. I will be appreciate, if you could tell me how to set up from /moudules/src. |
I can directly run it. I guess it's a problem with your path environment. My code is modified from https://github.com/CoinCheung/BiSeNet/tree/master/old , seems no need to setup |
@juntang-zhuang You are right, thank you! I changed the environment into Python 3.6 and PyTorch 1.1 , it works! I tried python 3.7 & PyTorch 1.2, 1.6, 1.7, found you mentioned here #18 (comment) |
I think you can change the dataloader to inference the images. Currently I don't have any code to directly inference on given images. |
Thank you for the great work! I met a problem with No module named 'inplace_abn' when I run python3 evaluate.py. After installing inplace_abn from official repo, it works still not.
Do you have any advices? THX and have a nice day!
The text was updated successfully, but these errors were encountered: