Comments (3)
Hi. There's no --content_dir
argument in the repo. Did you mean to ask for the path of the content image?
from fast-neural-style-pytorch.
yes
from fast-neural-style-pytorch.
First, please change line 9 from
STYLE_TRANSFORM_PATH = "transforms/udnie_aggressive.pth"
to
STYLE_TRANSFORM_PATH = "transforms/udnie.pth"
or to any style that you want and is available in the transforms folder
Then, uncomment line 135 and run the script by python stylize.py
The script will ask for the content image path while it is running. As an example, you may type images/tokyo2.jpg
from fast-neural-style-pytorch.
Related Issues (20)
- vgg16_features.load_state_dict(torch.load(vgg_path), strict=False) HOT 4
- "AttributeError: can't set attribute" HOT 2
- VGG weight file not available on AWS HOT 4
- IndentationError
- Value error while trying to run video.py HOT 9
- Custom model HOT 1
- train my own style image HOT 2
- Share style images? HOT 1
- video.py wrong line
- Trying TransformerNetworkTanh and error when running train.py HOT 1
- What is the License schema ? HOT 2
- Difference between this implementation and PyTorch team's version? HOT 1
- Train Notebook: Request for Improvements HOT 3
- Fixing the save/load generated images HOT 3
- About content loss HOT 4
- Can you share the pre-trained model? HOT 3
- webcam.py: can't adjust resolution? HOT 3
- new style image HOT 2
- I cannot find 'USE_FFMPEG' in video.py. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-neural-style-pytorch.