Comments (10)
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.
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.
from u-2-net.
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.
from u-2-net.
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.
from u-2-net.
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.
from u-2-net.
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.
- " 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? - "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'? - " 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 - Do we need to change each image size within 320*320?
Looking forward to your reply.
Thanks
from u-2-net.
Related Issues (20)
- issue about portrait function
- Cannot Import U2NET
- onnx result wrong HOT 5
- [Question] Trained model for proprietary use
- Ai
- RuntimeError: unexpected EOF, The file might be corrupted
- 大佬,可以提供一下验证模型相关指标的代码吗? HOT 1
- RescaleT:Why not prioritize maintaining the aspect ratio
- Hi, when I run this code, I get strange errors in other detection tasks.The following is the warning where the error occurs
- Continue training, train my own model with U-2-Net, in between due to some reasons the training was interrupted or I want to strengthen an existing model, what should I do? Can you provide a 'Continue-training.py'? HOT 4
- Inference speed HOT 1
- 模型训练时间过长
- 对u2netp模型进行qat量化
- How can I input video or webcam in the test.py script?
- 能否麻烦将整个项目打个包(包含运行文件和预训练模型),集成一个 .bat 文件,点击运行即可使用? HOT 2
- 请问该模型只能输出二分类结果么?可以输出为多分类么?比如三分类 HOT 1
- Is it support person segmentation now? HOT 2
- 如何添加评价指标
- ImportError: cannot import name 'U2NET' from 'model' HOT 2
- Can' Access Human Segmentation Model Weights HOT 1
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 u-2-net.