Comments (5)
Apologies. Using torch==1.2.0
from self-correction-human-parsing.
@rkhilnani9 I have got the same issue, but when I switched to use torch 1.5.1, torchvision 0.6.1. The issue no longer exists.
from self-correction-human-parsing.
@VyBui Thanks! That error is no longer there and I am almost able to train the model.
Faced another error in train.py though. Would you happen to know anything about this?
Traceback (most recent call last):
File "train.py", line 231, in
main()
File "train.py", line 94, in main
AugmentCE2P = networks.init_model(args.arch, num_classes=args.num_classes, pretrained=args.imagenet_pretrain) File "/rapids/notebooks/atcdata/rkhilnan/Self-Correction-Human-Parsing/networks/init.py", line 13, in init_model return __factory[name](*args, **kwargs)
File "/rapids/notebooks/atcdata/rkhilnan/Self-Correction-Human-Parsing/networks/AugmentCE2P.py", line 336, in resnet101
initialize_pretrained_model(model, settings, pretrained)
File "/rapids/notebooks/atcdata/rkhilnan/Self-Correction-Human-Parsing/networks/AugmentCE2P.py", line 330, in initialize_pretrained_model
model.load_state_dict(new_params)
File "/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 847, in load_state_dict self.class.name, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for ResNet:
Unexpected key(s) in state_dict: "state_dict".
from self-correction-human-parsing.
So I want to try out the exp-schp-pascal-person.pth model, and I have downloaded the weights and saved it in pretrained_model folder inside my repo. Do I also have to download resnet-101.pth?
from self-correction-human-parsing.
@rkhilnani9 I have not seen that error yet.
Yes, you have to download resnet101-imagenet.pth and place it in the pretrained_model
from self-correction-human-parsing.
Related Issues (20)
- Training errors on LIP HOT 4
- 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
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.