GithubHelp home page GithubHelp logo

Epoch size about u-2-net HOT 10 OPEN

xuebinqin avatar xuebinqin commented on May 15, 2024
Epoch size

from u-2-net.

Comments (10)

xuebinqin avatar xuebinqin commented on May 15, 2024 1

Thanks for your interests. Instead of counting the epoch number, we use iteration number and trained around 600K iterations (it takes around 120 hours on single 1080 ti GPU) with batch size of 12 on horizontally flipped DUTS-TR dataset. What do you mean by "tar loss of 0.01"?

from u-2-net.

ds-jpg avatar ds-jpg commented on May 15, 2024 1

Hi Nathan
Sorry, my bad, what I meant to say was when I start training your pre-trained model with duts dataset, it gives tar: 0.014615 and train loss: 0.165076. What I wanted to know is that suppose if I train this model from scratch only with my custom dataset which is nearly 20K images ) then how can I detect if the model is overfitting. And do I need to train the model until the tar reaches: 0.01 and train loss: 0.16
Thanks a lot

from u-2-net.

xuebinqin avatar xuebinqin commented on May 15, 2024

from u-2-net.

ds-jpg avatar ds-jpg commented on May 15, 2024

Hi Nathan,
Thank you so much for the quick reply.

I have another query that I want to ask you. After training the model from scratch with our custom dataset which is around 20K suppose we generate another 10K new dataset, in that case -

a) Can we do transfer learning on the last saved weight with the newly collected 10K dataset

Or

b) Should we do incremental learning (by mixing our old 20K dataset with the new 10K dataset and then train on the last saved model?)

Thanks in advance and looking forward to hearing from you.

Best regards,
Deep

from u-2-net.

xuebinqin avatar xuebinqin commented on May 15, 2024

from u-2-net.

ds-jpg avatar ds-jpg commented on May 15, 2024

Hi Nathan,

I hope you are well.

Can you please tell me how can we generate a 4 channel mask, currently the mask that is being generated from the model happens to be a 2 channel mask but we want to generate a 4 channel mask.

looking forward to hearing from you.

Thanks a lot
Deep

from u-2-net.

xuebinqin avatar xuebinqin commented on May 15, 2024

from u-2-net.

ds-jpg avatar ds-jpg commented on May 15, 2024

Hi Nathan,
Thanks for the quick reply.

Also, Nathan, It will be really helpful if you can kindly answer the following things

Situation 1 :
When I am training your model on my custom dataset with an 80K image + mask, then in that case do I need to Horizontally flip the images. Or will the images get horizontally flipped from the model itself?

Situation 2 :
What should we do, when training the model with a large dataset of let's say 100K or more, and in that case if the changes are required then where and what changes should we do in the model?

Situation 3 :
We have already trained your model with our custom dataset of around 40K containing a lot of sharp edges, but the performance of the model is still poor on images with sharp edges and especially near the edges of the image, In order to get the best performance do we need to add more dataset like that

Thanks a lot in advance :)

Looking forward to hearing from you.

Best Regards
Deep

from u-2-net.

xuebinqin avatar xuebinqin commented on May 15, 2024

from u-2-net.

yaju1234 avatar yaju1234 commented on May 15, 2024

Hi Nathan,
I humbly request you to provide the following information.

"You can change the middle and output filter numbers of each RSU block
and you can also add more more layers into each stage. Besides, you can
also try to replace the standard re_bn_cov element by a residual block. In
summary, try to increase the network capacity by increase the model width
and depth if you have no limitations on the computation resources. *"

We want to train our model with 100K(50k normal + 50k horizontal flip ) dataset from scratch.

  1. " you can also add more more layers into each stage"
    Can you please guide me on how to add more layers. Do we need to create RSU8, RSU9, etc like that?
  2. "try to replace the standard re_bn_cov element by a residual block"
    Can you tell me where exactly I need to make changes in your code? Also please guide what is the 're_bn_cov element'?
  3. " change the middle and output filter numbers of each RSU block"
    How much we need to increase the middle and output filter numbers. Now in your model, it is
    mid_ch=12, out_ch=3
  4. Do we need to change each image size within 320*320?

Looking forward to your reply.
Thanks

from u-2-net.

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.