Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Train our own Model? ❀ NOT ISSUE - This could be interesting and helpful, please read! #194

Open
AlonDan opened this issue Jul 29, 2022 · 0 comments

Comments

@AlonDan
Copy link

AlonDan commented Jul 29, 2022

Hello Everyone,
First of all this project is inspiring, I would like to thank the amazing developers YOU ROCKS! πŸ’™

Just to be clear, English is not my native language but I hope you'll understand this love letter to to the community.

I'm writing down points that we (newbies and beginner) are curious about and would like to learn from advanced programmers and users, hopefully to make things more "user friendly" so we can try ourselves and make MODNet more interesting and more community evolved by sharing results and sharing tips & tricks.

If I had the knowledge and experience to make a Step-by-Step GUIDE or Video Tutorial I would donate my spare time to share it with the community, but since I'm clueless as many others I've created this "Suggestion Guide" for others to answer the confusion of how to get started with training a MODNet model.

Probably the original developers (which are awesome!) don't have the time to help in here, I wish they could help so maybe others who already know the area will be kind to share their knowledge:


πŸ”· INTRODUCTION:
I'm not a programmer so I can probably follow simple tasks to see results, that's how me and probably other newbies installed MODNet locally on Windows and Anaconda.

Using the pre-trained model was successfully working SMOOTH and have no issues!
But like many others, I'm more curious about making higher quality models and trying to learn and experiment training different dedicated models. πŸ‘

The Problem is that I have no idea how to TRAIN my own model...
it is probably much more complex than the simple parameters to use the DEMO Pre-Trained locally on windows (Unless I'm wrong it's not that complicated... hopefully?) πŸ€”


LET'S START:
Can somebody please be kind and consider to make a short guide, step-by-step explanation or even visual Video Tutorial and show all the steps on how to start training our own model?

For example:

  1. How to start training?
  • What commands to use on Anaconda ?
    For Windows and Anaconda users, I noticed it looks different on Linux so it may be hard to follow.

  1. Is there a big DATASET available we can download for trying to Train ? If so...
  • Where to download such dataset?
  • After downloaded, in what Sub-Directory to put it?
  • Most important, how to use it? what commands needed to be type in Anaconda to start training it?

  1. Once our MODEL is trained (even not for a long time) How to:
  • How to START training and RESUME the same model training?
    consider sometimes you want to pause training and continue later from the same point.

  1. Can we AIM the training TARGET for something specific? For example:
  • Humans Full Body?

  • Dogs?

  • Umbrellas or ANY specific Object?

  • Anything in general that we wish to focus as Target?

  • If so, Please don't forget to explain how it's done as well...
    A GOOD EXAMPLE:
    If the image contains DOG but also TREES, HUMANS and a CHAIR in the background:

HOW do you prepare it so the TRAINING will KNOW what is the TARGET?
DOGS ONLY for example in dataset that contain many things beside the dogs?

Do we have some way to "DRAW" around it to prepare the target? do we need to manually prepare the dataset in PHOTOSHOP to bring to focus ONLY the targets? or it works totally different?

How do we TARGET our SUBJECT per image on a big amount of images for our dataset,
I've Created an example of 1 single DATASET image should we CROP?
Dataset SPECIFIC Target Example

βœ” Please don't spare the details of how it works exactly.


  1. General Questions about Training / Dataset:
  • What is the recommended types of images we need to collect to create our own dataset:
    JPG? PNG? does it matter? what is recommended?

  • What is the recommended RESOLUTION of the images to collect for our own dataset?
    512x512? 1024x1024 ? 2K ? maybe.. 4K ? the bigger the better?

  • Do we have to use DATASET of 1:1 ratio? (512x512 for example) or it could be ANY ratio?


GREAT Tutorial-Idea to make could be a step-by-step guide that shows how to collect a specific dataset of "SOMETHING" for example:
A dedicated dataset of only HUMAN FULL BODY or specific OBJECT, ANIMAL, etc.. πŸ‘

If training different models based on "SPECIFIC" dataset of image, this could be VERY interesting to test and experiment MODNet and share results with others!


CONCLUSION:
If someone will be kind to take the time and make such step-by-step guide (for newbies as well) consider some people are not programmers, it will be very helpful for the whole community.

I hope to see this, and maybe even more people will be able to share different results of their own models.

Thanks ahead to ANYONE who consider to follow the points above and making some sort of guide or video tutorial. Much Love and appreciation ❀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant