Comments (5)
meet the same problem
02 19:49:05 WRN Unexpected key(s) in state_dict: heads.0.conv_3x3.conv.weight, heads.0.conv_3x3.bn.bias, heads.1.conv_3x3.bn.num_batches_tracked, heads.0.conv_3x3.bn.num_batches_tracked, heads.0.conv_1x1.bias, heads.0.conv_3x3.bn.running_var, heads.1.conv_1x1.bias, heads.1.conv_3x3.bn.weight, heads.1.conv_3x3.conv.weight, heads.1.conv_1x1.weight, heads.0.conv_3x3.bn.running_mean, heads.1.conv_3x3.bn.running_mean, heads.0.conv_3x3.bn.weight, heads.1.conv_3x3.bn.running_var, heads.1.conv_3x3.bn.bias, heads.0.conv_1x1.weight
have you solved it ?
from torchseg.
if is_training:
heads = [BiSeNetHead(conv_channel, out_planes, 2, # 16
True, norm_layer),
BiSeNetHead(conv_channel, out_planes, 1, # 8
True, norm_layer),
BiSeNetHead(conv_channel * 2, out_planes, 1, # 8
False, norm_layer)]
else:
heads = [None, None,
BiSeNetHead(conv_channel * 2, out_planes, 1, # 8
False, norm_layer)]
The author removes two auxiliary heads in evaluation.
from torchseg.
@xyiyy Thanks a lot!
from torchseg.
@ycszen
When I run the train.py from cityscapes.bisenet.R18.speed, the following tip appears:WRN Missing key(s) in state_dict: layer3.0.bn1.num_batches_tracked, layer1.1.bn1.num_batches_tracked, layer2.1.bn2.num_batches_tracked, layer1.1.bn2.num_batches_tracked, layer1.0.bn1.num_batches_tracked, layer2.0.downsample.1.num_batches_tracked, layer3.1.bn2.num_batches_tracked, layer3.1.bn1.num_batches_tracked, layer3.0.downsample.1.num_batches_tracked, layer2.0.bn1.num_batches_tracked, layer2.0.bn2.num_batches_tracked, layer4.0.bn1.num_batches_tracked, layer4.0.bn2.num_batches_tracked, bn1.num_batches_tracked, layer4.1.bn2.num_batches_tracked, layer4.1.bn1.num_batches_tracked, layer1.0.bn2.num_batches_tracked, layer3.0.bn2.num_batches_tracked, layer4.0.downsample.1.num_batches_tracked, layer2.1.bn1.num_batches_tracked
How should I deal with this problem?
i get the same problem as you
from torchseg.
This is a log for loading checkpoint.
The new version of PyTorch adds num_batches_tracked
parameters in the batch normalization function, which is not contained before.
Therefore, it outputs this log. However, this didn't affect the training performance.
from torchseg.
Related Issues (20)
- train a dfn-voc network with my own data HOT 1
- 关于cityscapes.bisenet.R18.speed中下采样label HOT 1
- subprocess.CalledProcessError
- example about the train.txt, val.txt, test.txt
- A exception occurred during Engine initialization, give up running process HOT 1
- about aux_label
- C++
- 关于您提供的BiSeNet_Xception39的复现结果mIOU低
- Inference on my own images HOT 1
- Setting gt_down_sample=1 resulting in reduction of validation accuracy by 4.9% HOT 1
- Where are train.py and eval.py? HOT 1
- Does the .pth file downloaded in google drive need to be retrained?
- The loss calculation of PSPNet
- BiSeNetV2 support
- Training Parameter - Large dataset
- Difference between realtime res18 and non-realtime res18 model HOT 1
- About the pretrained model
- ModuleNotFoundError: No module named 'utils.pyt_utils' HOT 3
- 训练问题
- valueError invalid literal for int() with base10:‘’
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 torchseg.