Giter Club home page Giter Club logo

Comments (6)

Ldhlwh avatar Ldhlwh commented on August 29, 2024

@xuyu666 您好,

除了减小batch size还可以尝试减少channel,参考train.py里的args.G_kwargs.synthesis_kwargs.channel_base和channel_max

from dfmgan.

xuyu666 avatar xuyu666 commented on August 29, 2024

谢谢你的回复,我尝试了你说的方法,修改成功了。但是运行的时候一直不动了(此时显存貌似没调用,但默认batch16时直接显存不足),具体如下:
image

from dfmgan.

Ldhlwh avatar Ldhlwh commented on August 29, 2024

看这张图卡住的位置程序应该在算FID,默认要生成50k张图片,本身时间就比较久(几分钟以上)。这里可以尝试--metrics fid5k_full减少生成图片数量到5k张确认一下程序是否在正常运行

如果还是卡住,可以检查一下两个pytorch插件有没有配置成功

Setting up PyTorch plugin "bias_act_plugin"... Done.
Setting up PyTorch plugin "upfirdn2d_plugin"... Done.

from dfmgan.

xuyu666 avatar xuyu666 commented on August 29, 2024

好的谢谢,目前去掉指标测试后运行成功。另外想了解下您代码里的rank参数默认为0,能否对其修改。单卡gpu设置为1时,貌似存在一个冲突,具体如图所示。同时我看您论文中有提到supplementary material,能不能发我一份看看哈哈哈(ps: 邮箱[email protected]
批注 2023-07-26 173154

image

from dfmgan.

Ldhlwh avatar Ldhlwh commented on August 29, 2024

rank这部分是StyleGAN-ADA的代码,我没有尝试过修改

补充材料在arxiv版本里有

from dfmgan.

xuyu666 avatar xuyu666 commented on August 29, 2024

有看到,谢谢hahah~

from dfmgan.

Related Issues (20)

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.