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 the models #2

Open
Wangman1 opened this issue Jun 29, 2021 · 13 comments
Open

How to train the models #2

Wangman1 opened this issue Jun 29, 2021 · 13 comments

Comments

@Wangman1
Copy link

Hi, thank you for your code, and I want to know how to train the model in your code? thank you!

@lhwcv
Copy link
Owner

lhwcv commented Jul 13, 2021

Sorry for my late reply. (A little busy at work)
My result is lower than in the paper, about ~2-3 percent lower than it. Maybe next week I'll push my training code.

@Wangman1
Copy link
Author

Wangman1 commented Jul 13, 2021 via email

@lhwcv
Copy link
Owner

lhwcv commented Jul 19, 2021

@Wangman1 Here is my result in mlsd_pytorch/README.md

@lhwcv
Copy link
Owner

lhwcv commented Jul 19, 2021

model img_size sAP10
mlsd_tiny (this repo) 512 56.4
mlsd_tiny (in the paper) 512 58.0
mlsd_large (this repo) 512 59.6
mlsd_large (in the paper) 512 62.1

@Wangman1
Copy link
Author

Wow, these results look great, and I can't wait to see how you train the model, so great job, thank you!!!

@Wangman1
Copy link
Author

Hi, when I train the model in your mode, raise the follow error:
image

@Wangman1
Copy link
Author

Wangman1 commented Jul 20, 2021

And the Google link to JSON file cannot download the content. It does not have relevant download permission.
image

@lhwcv
Copy link
Owner

lhwcv commented Jul 20, 2021

@Wangman1

  1. pip install yacs
  2. use https://github.com/lhwcv/mlsd_pytorch/blob/main/data/wireframe_anno.zip
  3. google cloud disk I'll check the issue later

@Wangman1
Copy link
Author

@lhwcv
Thank you so much for your help. My code has been successfully run!!!
image

@ForestWang
Copy link

all loss will be nan after about 15 epoch, anyone knows why?

@YangTao516
Copy link

@lhwcv Thank you so much for your help. My code has been successfully run!!! image

hi, could you please share the datasets with me ? It seems that the url for the datasets is unusable.

@harolddu
Copy link

harolddu commented Jan 5, 2022

@lhwcv

Thanks for your code and I can run the demo successfully. But loss values are both "nan" on wireframe and custom datasets during training, do you have any idea?

@michelebechini
Copy link

Hi, how long does it take (on average obviously) to train this model? I am trying using Colab GPUs and the process seems extremely slow...

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

6 participants