ofnote / tryongan Goto Github PK
View Code? Open in Web Editor NEWTryOnGAN: Unofficial Implementation
License: Other
TryOnGAN: Unofficial Implementation
License: Other
Useful links (Drive) :
Trained Checkpoints
Image Dataset
Pose keypoints
The data is lost.
Hi, nice work! Any reason why you have not (yet) implemented the image segmentation? Maybe because it is unclear how they implemented it exactly or any troubles with that or just no time for that? Also, what FID have you achieved? Thanks!
Hi,
When try to project an image to latent space by running " python projector.py --outdir=./ --target=../images/xxx.png --posefile=../images/pose-annotations.csv --network=https://nvlabs-fi-cdn.nvidia.com/stylegan2-ada-pytorch/pretrained/ffhq.pkl",
I got an error like this:
TypeError: forward() takes 2 positional arguments but 3 were given
stack is:
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/pdb.py", line 1704, in main
pdb._runscript(mainpyfile)
File "/opt/conda/lib/python3.8/pdb.py", line 1573, in _runscript
self.run(statement)
File "/opt/conda/lib/python3.8/bdb.py", line 580, in run
exec(cmd, globals, locals)
File "<string>", line 1, in <module>
File "/workspace/TryOnGAN/projector.py", line 9, in <module>
"""Project given image to the latent space of pretrained network pickle."""
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/workspace/TryOnGAN/projector.py", line 227, in run_projection
projected_w_steps = project(
File "/workspace/TryOnGAN/projector.py", line 97, in project
synth_images = G.synthesis(ws, pose, ret_pose=False, noise_mode='const')
File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 744, in _call_impl
result = self.forward(*input, **kwargs)
TypeError: forward() takes 2 positional arguments but 3 were given
Any idea what is going wrong?
Thanks.
A very interesting project!Why no predict code? The documentation is very incomplete.
Hi, nice codes! I wonder what settings checkpoints are, could you please tell me more about the details? Especially UC checkpoints, thank you so much!
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.