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

trained model different format? #22

Closed
paul-ferragut opened this issue Jun 19, 2022 · 5 comments
Closed

trained model different format? #22

paul-ferragut opened this issue Jun 19, 2022 · 5 comments

Comments

@paul-ferragut
Copy link

I managed to train a model for pix2pix, however the output files are looking different than the included edge2shoe example.
2022-06-19 22_49_18-C__Users_plesk_Documents_coding_of_v0 11 2_vs2017_release_addons_ofxTensorFlow2_
I don't have assets and variables folder and no .pb file. I would appreciate some more guidance for how to format my trained model so I can use it with the example.

@bytosaur
Copy link
Member

hey @paul-ferragut,

how did you train it ? Did you use the original repo or the one I put into the examples folder?
my version has a main.py which calls this source file. Line 136 writes a model after every epoch to ''../bin/data/", which is the folder where the model should be for the openFrameworks. Please check the location ;)

@paul-ferragut
Copy link
Author

thank you for your reply!
no I didn't, I trained using instructions from https://github.com/affinelayer/pix2pix-tensorflow/
my bad I will try this way!

@bytosaur
Copy link
Member

okok please check the README in the python folder ;)

@bytosaur
Copy link
Member

From the first look it seems to be as easy as that... I would simply try to use as much of the folder structure, image properties and code as the original script. Image properties might be the one you will struggle with most. If needed I would write a separate script that transforms your data

@paul-ferragut
Copy link
Author

paul-ferragut commented Jun 24, 2022

thank you for the help @bytosaur I got everything working :)
Should have read the readme better .
Now I will have some fun testing datasets :)

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

2 participants