Giter VIP home page Giter VIP logo

glad's People

Contributors

georgecazenavette avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

glad's Issues

utils.py is not complete

Thanks for your amazing work. There are different class or functions which are imported in the buffer_mtt.py from utils, but they are not exist in the utils.py. would you please check and upload a new utils files. Thanks.

TypeError: expected Tensor as element 0 in argument 0, but got NoneType

Hi, thank you for the open-source code. However, when run the command:
python distill_dc.py --dataset=CIFAR10 --layer=16 --ipc=1 --eval_it 1 --space wp
there is an error:
Traceback (most recent call last): File "glad/distill_dc.py", line 236, in <module> main(args) File "glad/distill_dc.py", line 185, in main gan_backward(latents=latents, f_latents=f_latents, image_syn=image_syn, G=G, args=args) File "glad/glad_utils.py", line 435, in gan_backward latents.grad = torch.cat(latents_grad_list) TypeError: expected Tensor as element 0 in argument 0, but got NoneType

How to use random Generative prior?

Hi, I noticed there are two args: '--rand_gan_con' and '--rand_gan_un'. What exactly the meaning of these args? And how to use a random generative prior?
if args.rand_gan_con: network_pkl = "../stylegan_xl/random_conditional_{}.pkl".format(res) key = "G" elif args.rand_gan_un: network_pkl = "../stylegan_xl/random_unconditional_{}.pkl".format(res) key = "G"
Thanks a lot!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.