Git Product home page Git Product logo

Comments (3)

sacmehta avatar sacmehta commented on June 13, 2024

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.

pentaris avatar pentaris commented on June 13, 2024

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?

image

from espnetv2.

wangyihuan123 avatar wangyihuan123 commented on June 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.