Comments (3)
So I noticed that you can change the format handled for the incoming images here: https://github.com/lengstrom/fast-style-transfer/blob/master/src/utils.py#L16 which I changed from RGB
to RGBA
based on the SciPy documentation. I get a new error saying Assign requires shapes of both tensors to match
. My hunch is that I need to generate a checkpoint that's also RGBA
format. Will continue to poke around and post updates here.
from fast-style-transfer.
I think your goal is pretty underspecified right now. I'm not sure what "when alpha = 0 the style transfer isn't applied" means.
from fast-style-transfer.
He probably means that he has an RGBA image with an alpha channel as the transparency and he wants the style to apply only to the pixels where there is no transparency (opaque). Like an alpha mask.
from fast-style-transfer.
Related Issues (20)
- Error running style.py: Not found: ./bin/ptxas not found
- TypeError: _open() got an unexpected keyword argument 'pilmode'
- can't open file 'evaluate.py': [Errno 2] No such file or directory
- error running style.py HOT 2
- how to change 'resize' resolution?
- Unrecognized arguments HOT 1
- Weird behaviour on the edges HOT 2
- Program gets killed. HOT 1
- AssertionError: checkpoint dir not found! HOT 2
- AttributeError: 'int' object has no attribute 'value' HOT 1
- Can you use this to style audio? HOT 1
- AssertionError: In path not found! HOT 2
- Green and red dot pattern are appearing HOT 2
- When you transfer your videos ,moviepy 1.0.2 has exceptions ! HOT 2
- Problem of memory HOT 1
- saving a model
- Jjjhikk
- Running style.py,error,I'm a rookie.Please help me.
- ERROR 409: Public access is not permitted on this storage account.. HOT 2
- results of "models for evaluation" is so bad
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-style-transfer.