snap-research / articulated-animation

Code for Motion Representations for Articulated Animation paper
https://snap-research.github.io/articulated-animation/
Other
1.24k stars 351 forks source link

error when training avd with videos #59

Open surfingnirvana opened 2 years ago

surfingnirvana commented 2 years ago

I get this error when trying to train with videos. The standard training does work with training videos. Training avd with .png is fine. When switching to avd mode there is this error:

File "C:\NEURAL\articulated-animation\train_avd.py", line 75, in train_avd source = x['source'][:6].cuda() UnboundLocalError: local variable 'x' referenced before assignment

When the background is static, do i just have to set bg_type: 'zero'?

hacker009-sudo commented 1 year ago

@surfingnirvana , I am facing the same issue. Did you get any solution?

@AliaksandrSiarohin, please guide how to resolve this issue.