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

About “trained model already exist” and solution way #6

Open
Huaxingweichen opened this issue Oct 31, 2019 · 5 comments
Open

About “trained model already exist” and solution way #6

Huaxingweichen opened this issue Oct 31, 2019 · 5 comments

Comments

@Huaxingweichen
Copy link

Congratulations on your paper get the best paper in iccv2019!
When I run your code, I input the path to my image and then tell me can't find the file.
Later I realized I should input the file name and put the image to /Input/Images/.
However, I get the “trained model already exist” .
I read the source code and find the path already be created then I deleted the path.
Finally, I can run it normally.

@JonathanFly
Copy link

That works, though what should really happen is that training is resumed if the model already exists. Not sure how difficult continuing from an existing checkpoint would be to add...

@15732031137
Copy link

Dear tamarott,
First of all, congratulations on your paper getting the best ICCV 2019 paper. Recently I had the honor to read that your paper had some problems during runtime, so to ask you, I first run python main_train.py --input_name huge.jpg without problems, but he from The photo produced at 0 scale is distorted, so I want to generate it from a finer scale, and then run the second command python random_samples.py --input_name huge.jpg-mode random_samples --gen_start_scale 2 But the result shows that the model already exists, Later, I changed another file name but it was still an image. In the end, the model still exists. May I ask why? Thank you very much! wish you a happy life!

@I-am-anonymous-coder
Copy link

The same problem is happening with me
I am running the code with
!python SinGAN/main_train.py --input_name rs.jpg --not_cuda
but always with any Image present in Input/Images directory , I am always getting
"trained model already exist". Even I tried with new images of my own by keeping it in "Input/Images directory" but still getiing that trained model already exist

@JonathanFly
Copy link

It shouldn't happen if you've never trained the model? If you see a /TrainedModels directory just rename it for now (or whatever directory it is storing the models in if you changed that, poke around until you find it.)

@I-am-anonymous-coder
Copy link

I-am-anonymous-coder commented Dec 27, 2019 via email

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

4 participants