Comments (15)
Did you process Cityscapes dataset correctly? Seems like an issue with labels.
from espnetv2.
Yes,I did ! 255 converted to 19 !
from espnetv2.
from espnetv2.
I mean Cityscapes labels are not continuous between 0 and 19. You need to first convert them to continuous values. Have you done this?
from espnetv2.
Yes ,i have used this code https://github.com/mcordts/cityscapesScripts/blob/master/cityscapesscripts/preparation/createTrainIdLabelImgs.py to conver them!
from espnetv2.
Could you just cross verify label images for the validation set are correct?
Which PyTorch version are you using?
from espnetv2.
could you please also check if this observation is the same if you use training set as your validation set?
from espnetv2.
Pytorch version 1.0.1 post2, i will try you methods ! thanks
from espnetv2.
This observation is the same if I use training set as my validation set
and my validation set is correct ,Throughout the code, I only changed the two loss values needed for training to only one loss value.
from espnetv2.
Could you point me to your repo?
from espnetv2.
output1, output2 = model(input) #set the grad to zero optimizer.zero_grad() loss1 = criterion(output1, target) loss2 = criterion(output2, target) loss = loss1 + loss2
change to
output1=model(input) optimizer.zero_grad() loss=criterion(output1, target)
No change in other places
sorry ,I didn't create a repo
from espnetv2.
Well you need to change the model file too, so that you get only one output instead of two.
from espnetv2.
I used the EESP module in your code to redesign the network structure and only have one output, then modify the training code to what I told you, the other parts have not changed, the data set is no problem, you also see the network can Training, but there was a problem with the verification, but when I used this code to train other network structures, everything was fine! I don't know what caused it.
from espnetv2.
Could you use the original code (without your changes) and see if it works?
If that works, then try incorporating your changes one by one. This will help you to debug the error.
from espnetv2.
Thanks ,I will do it!
from espnetv2.
Related Issues (20)
- About cyclic learning rate HOT 1
- Downsampling HOT 1
- Training issues (from pretrained weights) HOT 1
- a strange question
- a strange question
- A strange problem encountered during training
- About Power consumption HOT 9
- Turning ESPNet into c++ cudastream problem HOT 2
- train.txt create HOT 2
- compared with ShuffleNet V2 HOT 3
- train/eval for another dataset HOT 1
- Question about predict on espnetv2 HOT 3
- Espnet .pth with another scale factor HOT 1
- You have following values as class labels: [ 0 1 2 4 5 6 7 8 10 11 13 255] Some problem with labels. Please check image file: ./city/gtFine/train/cologne/cologne_000000_000019_gtFine_labelTrainIds.png Exiting!! HOT 2
- Network parameters of segmentation model in the paper HOT 5
- Have you used ImageNet pretrained weight to train epsnetv2 for segmentation? HOT 1
- Can anyone upload a pretrained model? HOT 1
- The tool to calculate FLOPs
- Can this model be used for regression tasks?
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 espnetv2.