Giter Club home page Giter Club logo

Comments (7)

lipku avatar lipku commented on June 8, 2024

那可能是你用的float32训练的模型,把app.py里的opt.fp16 = True这行注释掉看看

from metahuman-stream.

stevin-dong avatar stevin-dong commented on June 8, 2024

那可能是你用的float32训练的模型,把app.py里的opt.fp16 = True这行注释掉看看

好的,感谢大佬,我试试

from metahuman-stream.

stevin-dong avatar stevin-dong commented on June 8, 2024

那可能是你用的float32训练的模型,把app.py里的opt.fp16 = True这行注释掉看看

试过了,还是不行,我直接用原项目中的main.py可以跑,命令如下:
python main.py /root/autodl-tmp/10002/data --workspace /root/autodl-tmp/10002/trial_10002_torso -O --torso --test --test_train --aud /root/autodl-tmp/16k_eo.npy --smooth_path --asr_model esperanto

用app.py跑就是以下错误:
1111

from metahuman-stream.

lipku avatar lipku commented on June 8, 2024

python main.py data/mine-new/ --workspace workspace/trial_mine/ -O --iters 100000 --asr_model cpierse/wav2vec2-large-xlsr-53-esperanto
python main.py data/mine-new/ --workspace trial_mine/ -O --iters 125000 --finetune_lips --patch_size 32 --asr_model cpierse/wav2vec2-large-xlsr-53-esperanto
python main.py data/mine-new/ --workspace trial_mine_torso/ -O --torso --head_ckpt trial_mine/checkpoints/ngp_ep0034.pth --iters 200000 --asr_model cpierse/wav2vec2-large-xlsr-53-esperanto

我是用这个训练的,你看看训练参数有什么不一样

from metahuman-stream.

stevin-dong avatar stevin-dong commented on June 8, 2024

python main.py data/mine-new/ --workspace workspace/trial_mine/ -O --iters 100000 --asr_model cpierse/wav2vec2-large-xlsr-53-esperanto python main.py data/mine-new/ --workspace trial_mine/ -O --iters 125000 --finetune_lips --patch_size 32 --asr_model cpierse/wav2vec2-large-xlsr-53-esperanto python main.py data/mine-new/ --workspace trial_mine_torso/ -O --torso --head_ckpt trial_mine/checkpoints/ngp_ep0034.pth --iters 200000 --asr_model cpierse/wav2vec2-large-xlsr-53-esperanto

我是用这个训练的,你看看训练参数有什么不一样

看了,应该没有问题啊,搞不明白了。。为什么出来模型大小都不一样,我训练出来38.4M,您那个38M,我训练带的是--asr_model esperanto这样的简写,也应该是一样的

from metahuman-stream.

stevin-dong avatar stevin-dong commented on June 8, 2024

解决了,谢谢大佬!

from metahuman-stream.

jasonwongw avatar jasonwongw commented on June 8, 2024

解决了,谢谢大佬!

大佬,你是怎么解决换模型的?

from metahuman-stream.

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.