-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Using trained/exported model #151
Comments
Thanks for this! |
Hello, I'm using your code with the exported model and I'm getting this. Does anyone have any idea on how can I fix this?
|
Just to clarify to the ones that might be lost, you first need to export your pre trained model with a command like this
then, after creating a new .py file with the code above pasted you run something like this
At least this worked for me. Thank you very much for the code! |
what is |
From Saver
'export' isn't a file but the name of a set of files that are the result of the line 621 of the pix2pix2.py:
|
@franciscorba I figured that out but my issue still remains, more details here. I'm exporting using the mode as 'export', however it always says this is not a valid checkpoint file |
I have train and export some models that I intend to use with bash and/or python (no web use). I can't figure how to use my trained/ models.
I have read some old Issue where a process-local.py where used. This file doesn't exists anymore as stated in Issue #112. I download the old version of the file proposed but get an error when tried to use it. My theory is that the model is not exported in the same way/format as when the process-local.py file was there.
In Issue #103 @nidetaoge posted an python script to apply the model. The script is not complet and not clear and @nidetaoge doesn't answered the questions mades.
The other option i found in old Issues was using test mode with a blank target image, which seems not so clean.
I will thanks anyone that have some ideas that could help.
UPDATE:
From the file proposed in Issue #112. I solved the error and is working. Here my update version:
The text was updated successfully, but these errors were encountered: