progamergov / neural-zoom Goto Github PK
View Code? Open in Web Editor NEWInfinite Zoom For Style Transfer
License: MIT License
Infinite Zoom For Style Transfer
License: MIT License
The effect doesnt have the same look as the previews in the readme
it looks like every image is diferent and has no sense of zoom or continuity. I used the same images in diferent presets but doesnt seem like it works.
Hi thanks so much for the repo, its a great start for many video art with neural nets.
Just wanted to branch off of this #4
I started a fork of the repo which mainly takes care of the PIL and tmp directory bugs.
fork
Working with the neural-style-pt
It seems I can run with adam optimizer using
python neural_zoom.py -script neural_style.py -style_image examples/inputs/coral.jpg -content_image examples/inputs/mold.jpg -model_file models/vgg19-d01eb7cb.pth -backend cudnn -optimizer adam -verbose
but not with the lbfgs, as I get this error. It seems something with the neural-style script or how it handles lbfgs?
If you think there is a place I can start digging, please let me know
Capturing style target 1
Running optimization with L-BFGS
Traceback (most recent call last):
File "neural_style.py", line 468, in <module>
main()
File "neural_style.py", line 262, in main
optimizer.step(feval)
File "/usr/local/lib/python3.6/dist-packages/torch/optim/lbfgs.py", line 354, in step
old_dirs.pop(0)
IndexError: pop from empty list
unclear whether this is an oversight
'python3' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
File "neural_zoom.py", line 229, in
main()
File "neural_zoom.py", line 112, in main
first_run(run, params.output_image)
File "neural_zoom.py", line 146, in first_run
first_image = Image.open(params.output_dir + '/' + zeros(params.start_num, output))
File "C:\Apps\Anaconda\lib\site-packages\PIL\Image.py", line 2766, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'output_dir/out_0000.png'
Using windows 10 of course.
Thank you for taking the time to build this script its what I'm looking for and while im still brushing up on this stuff I was wondering if their was a way to modify the script to eventually end back to the main image.
So zoom in 90 frames, then keep zooming another 30 back to the original or that fact to another image that then could be zoomed into? Kinda like looping though images to images..
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.