zaidalyafeai / ml-projects

Implementation of web friendly ML models using TensorFlow.js. pix2pix, face segmentation, fast style transfer and many more ...
MIT License
648 stars 254 forks source link

More detalization. #6

Open gummybear opened 6 years ago

gummybear commented 6 years ago

Can you help me, which parameter in the code changes the detail of the resulting image. Suppose that by reducing the productivity.

In pix2pix project.

zaidalyafeai commented 6 years ago

It is not trivial to increase the resolutions of the generated images. You would have to train on high res images but the model might be big and you wont be able to run in the browser.

gummybear commented 6 years ago

It's a pity. )

gummybear commented 6 years ago

А month later... )

Do you have a big model for pix2pix/scene_model? More than 50 MB. I do not necessarily have high speed work. Hour of work per frame - normal. )

If not, please tell me how to generate this model and on which data set. Thanks in advance.

zaidalyafeai commented 6 years ago

No, I don't have a larger model but you can train your own model. Follow the instructions here. To increase the size of the model use ngf = ndf = 64 for instance.