Comments (4)
Thanks a lot!
It has been a few months that I haven't kept pace with progress in PyTorch, could you please explain is there a difference between f = f[:, :, ::-1, ::-1]
and torch.flip(f, [2, 3])
?
The advice 2, 3 looks good to me, you could pull request a version to improve it and i will have it look and merge if it works well.
^.^
Samuel
from stylegan_pytorch.
Thanks for your reply.
For the first problem, if you use [::-1]
index for a torch.tensor, you will get an error ValueError: negative step not yet supported
, i.e., cannot flip a torch.tensor like numpy array.
Besides, I'm working on this project and it will be my pleasure to pull a request later.
from stylegan_pytorch.
Thanks for your reply.
For the first problem, if you use[::-1]
index for a torch.tensor, you will get an errorValueError: negative step not yet supported
, i.e., cannot flip a torch.tensor like numpy array.
Besides, I'm working on this project and it will be my pleasure to pull a request later.
Thanks!
from stylegan_pytorch.
Thanks for your reimplementation!
- In networks_stylegan.py, line 107
f = f[:, :, ::-1, ::-1]
, I think you should consider usef = torch.flip(f, [2, 3])
- In networks_stylegan.py, line 247,
x = self.noise(x, noise)
, I think you should consider add a condition judgement before this line, likeif self.noise is not None:
- In defination of forward function of the
class GBlock
, do you miss a 3x3 convolution between upsmaple and the first adaIn1?
Did you find the answer for 3? I was thinking the same about missing a convolution between upsample and first adaln1 so I checked the issues and saw your question. I think the layer is missing as well but I haven't tested the code myself yet so I don't know if it works or not.
from stylegan_pytorch.
Related Issues (18)
- Can you provide some results from the trained model? HOT 3
- What is normalize after input?
- Confusion about training results HOT 11
- Iām wondering did this code work before you upload it. HOT 1
- How to give input images as of our choice? HOT 1
- what are the information stored on the pkl file? HOT 1
- src_seeds and dst_seeds are taken from where?
- style mixing with styleGAN
- the LeakyReLU layer after dense1 HOT 1
- Is progressive growing supported?
- What is the licensing on this?
- Question about the styleGAN performance in pytorch HOT 4
- implementation not running HOT 1
- A question about the code HOT 1
- Possible to run on a 1080 with 8GB? (memory error) HOT 1
- Question about Adaptive Instance Normalization HOT 3
- The Intermediate file is almost blank 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 stylegan_pytorch.