Comments (3)
Training has two parts:
i) Data preparation: Here, you check if the data is in write format or not. Also, you compute class imbalance weights if your dataset is imbalanced. Please see loadData.py file for more details. It is pretty simple and accepts two text files: one for training and one for validation. You can create these files easily as these contains mapping between RGB image and Segmentation mask (ground truth) in comma separated form. Note that one line per image pair.
ii) Training: One you are done with this part i), you can start training your model on your dataset. You need to adjust the number of classes in the main.py file. Please see main.py file for more details. It should be straight forward.
Let me know if you are still encountering any issues.
from espnetv2.
I tried to train in the way you showed me.
However, I encountered such an error during training.
There are 12 dataset classes, and the size is 480 x 320.
I modified the code a little, but is there something missing?
from espnetv2.
I encountered the similar issue before. After I prepare the data image/annotation with 1024x512 resolution, the problem disappeared. I can't remember very clearly. You can have a try.
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
- A strange problem encountered during training HOT 15
- 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.