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
arbitrary-image-stylization-v1-256 #21
Comments
Hey @Jonathhhan, I am currently on vacation and can only look into it at the mid of next week. if(!ofxTF2::setGPUMaxMemory(ofxTF2::GPU_PERCENT_90, true)) {
ofLogError() << "failed to set GPU Memory options!";
} |
Hey @bytosaur, |
Yup arbitrary style transfer is superior in that sense. How much fps do you get and what hardware do you use? |
It runs at 60FPS and 1280 x 694 (video resolution) with an RTX3090, but it needs a lot of power (around 340w). Not sure how to reduce that. With 1 FPS it goes down to 120 w. |
hey @Jonathhhan, thank you for your contribution! I am currently trying out your example on an RTX 3080.
Please feel free to make a PR for this example! BTW could you please name the example example_style_transfer_arbitrary? This way they are next to each other :) and i would like to keep the basic example on top |
oh and please keep in mind to use the standard OF_ROOT. I.e. leave the variable commented in config.make ;) |
hey @bytosaur, |
Hey, |
Alright :) It seemed that the video had a strange resolution or was corrupted, with another video it works without allocating from the shape. I also replaced div with mul. And I read the video texture directly into float pixels now, so no further conversion is needed. I will have a look into the other things... |
hey @Jonathhhan, i have already pushed a branch with some smaller changes. I ll first adjust and merge your other examples before modifying the download scripts :) |
hey @bytosaur,
|
hey @Jonathhhan, |
included in #29 |
I try to run the arbitrary-image-stylization-v1-256 model: https://tfhub.dev/google/magenta/arbitrary-image-stylization-v1-256/2
I can load the model without any errors, but it chrashes if I try to run the model (without an error message).
This is how I try to run it:
Any idea what I am doing wrong (or if the model runs at all with ofxTensorflow2)? Thank you.
The text was updated successfully, but these errors were encountered: