Comments (5)
@yunshangyue71 ImportError: No module named 'inplace_abn' did you solve this?
from self-correction-human-parsing.
-
The current code base adopts the implementation of InplaceSyncBN from https://github.com/mapillary/inplace_abn. The compiling of the InplaceSyncBN operator will be automatically triggered when running the code.
-
Our former codebase is based on pytorch version 0.4. However, we only made minor modifications regarding pytorch version difference, and upgrade to pytorch>1.0 for simplicity usage. From my side, the current provided pre-trained model matches the network configuration. As we have organized the code for easy reading, please do not mix the former code base with the current one. Please clarify what kind of mismatch you met.
from self-correction-human-parsing.
After killing several bugs that produced by my environment.The major bug apper.
(pytorch15) q30004136:/SCHP_org$ python train.py/SCHP_org$
Traceback (most recent call last):
File "train.py", line 25, in
import networks
File "/data_ssd3/q30004136/SCHP_org/networks/init.py", line 3, in
from networks.AugmentCE2P import resnet101
File "/data_ssd3/q30004136/SCHP_org/networks/AugmentCE2P.py", line 21, in
from modules import InPlaceABNSync
File "/data_ssd3/q30004136/SCHP_org/modules/init.py", line 1, in
from .bn import ABN, InPlaceABN, InPlaceABNSync
File "/data_ssd3/q30004136/SCHP_org/modules/bn.py", line 10, in
from .functions import *
File "/data_ssd3/q30004136/SCHP_org/modules/functions.py", line 18, in
extra_cuda_cflags=["--expt-extended-lambda"])
File "/data_ssd3/q30004136/anaconda3/envs/pytorch15/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 921, in load
is_python_module)
File "/data_ssd3/q30004136/anaconda3/envs/pytorch15/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1120, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "/data_ssd3/q30004136/anaconda3/envs/pytorch15/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1441, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "/data_ssd3/q30004136/anaconda3/envs/pytorch15/lib/python3.7/imp.py", line 296, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'inplace_abn'
(pytorch15) q30004136:
my environment is CUDA 10.2 ,ubuntu 18.0.4,python3.7
The error is there is no inplace_abn model .Do i need download the inplace_abn from https://github.com/mapillary/inplace_abn
and then put into the project?
when i run this command :pip install inplace_abn.it says that: Requirement already satisfied: inplace_abn in /data_ssd3/q30004136/anaconda3/envs/pytorch15/lib/python3.7/site-packages/inplace_abn-0.0.0-py3.7-linux-x86_64.egg (0.0.0)
i don't kown how to solve this problem. I need your help please.
from self-correction-human-parsing.
You don't need to install inplace_abn by yourself. The current code base already contains the inplace_abn implementation in ./modules. And the compiling of the InplaceSyncBN operator will be automatically triggered when running the code.
from self-correction-human-parsing.
I have tried several times ,it always the same error.
File "/data_ssd3/q30004136/SCHP_org/modules/functions.py", line 18, in
extra_cuda_cflags=["--expt-extended-lambda"])
ImportError: No module named 'inplace_abn'
How do i solve this problem?thank you very much!
from self-correction-human-parsing.
Related Issues (20)
- How can i run it on videos ? HOT 1
- LIP dataset not available HOT 3
- How to visualize edge prediction? HOT 1
- Where is the pre-trained model for Multiple Human Parsing?
- Training Time is huge
- CIHP dataset Training
- Testing on CPU HOT 12
- MulitHuman Parsing Resutls
- How to trained on custom dataset? HOT 2
- LIP dataset - crashed link HOT 1
- CUDA problem on training HOT 1
- generating human-parsing HOT 1
- Hi! I want to convert model to onnx but i have some error with InPlaceABNSync. can you give me some solutions. My error "RuntimeError: ONNX export failed: Couldn't export Python operator InPlaceABNSyn"
- Pascal-Person-Part求助
- Training with others backbone
- Excuse me, why is it stuck here all the time?I need help.
- Real-time test problem
- Cannot reproduce the results from the paper - Problem with InPlaceABNSync?
- 我下载到本地后,在pycharm上运行出的结果和colab上边运行的结果不一样是为啥呀??都是按照colab的步骤做的呀! HOT 1
- Which torch and torchvision version are appropriate? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from self-correction-human-parsing.