Giter VIP home page Giter VIP logo

Comments (1)

Hybrogen avatar Hybrogen commented on July 20, 2024

追根溯源,翻了两天源码终于发现第一个参数是前面的 batch_size,默认是 50,网上有文章说内存小可以设成 10,可是我设成 10 电脑还是运行一半自动关机,然后索性设成 0,主要之前搞 wav2lip 的一个参数就可以设成 0 来着,就试试看结果跑不动了,设成 1 出现了另一个报错:

Traceback (most recent call last):
  File "D:\HWork\NEW08\AD-NeRF\data_util\face_tracking\face_tracker.py", line 326, in <module>
    loss_lap = cal_lap_loss([rott_geo_lap.reshape(rott_geo_lap.shape[0], -1).permute(1, 0)],
  File "D:\HWork\NEW08\AD-NeRF\data_util\face_tracking\util.py", line 55, in cal_lap_loss
    out_tensor = F.conv1d(in_tensor, lap_kernel)
RuntimeError: Calculated padded input size per channel: (1). Kernel size: (3). Kernel size can't be greater than actual input size

好在知道自己就改了这一个地方,所以第一时间怀疑是不是还是这里,所以改成 10 果然能跑了。

from ad-nerf.

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.