ROMP icon indicating copy to clipboard operation
ROMP copied to clipboard

运行romp/predict/webcam.py出错

Open Naive-Bayes opened this issue 3 years ago • 2 comments

我想运行webcam和webcam_blender,用来在blender里驱动3D的模型(https://github.com/yanch2116/CharacterDriven-BlenderAddon)。

但是在运行webcam.py时报错了,报错信息如下: TypeError: forward() missing 1 required positional argument: 'meta_data',并且每次在print "Reseting Mesh 5"之后出现这个错误。

我看到之前有一个issue说指定CUDA_VISIBLE_DEVICES,但这个方法在这个bug前是不起效的

同时,我尝试了predict/video和predict/image,他俩都是可以正常工作的。

不知道孙博你在平时使用的过程中是否遇到过类似的问题,或者你建议从哪些方面可以定位bug和进行改进?

Naive-Bayes avatar Jun 10 '22 16:06 Naive-Bayes

to me, i get it before, after i add CUDA_VISIBLE_DEVICES in the python file at line 2, then, it is closed,

luoww1992 avatar Jun 14 '22 15:06 luoww1992

@Naive-Bayes 就是CUDA_VISIBLE_DEVICES=0, 只设置一个gpu就不会有这个报错了

Arthur151 avatar Jun 21 '22 14:06 Arthur151