zhan-xu / RigNet

Code for SIGGRAPH 2020 paper "RigNet: Neural Rigging for Articulated Characters"
GNU General Public License v3.0
1.36k stars 189 forks source link

run_root_cls.py test() is defined as 2 input args but 3 are given. #60

Closed tamakoji closed 2 years ago

tamakoji commented 3 years ago

run_root_cls.py test is defined as 2 input args but 3 are given.

  File "run_root_cls.py", line 111, in main
    test_loss, test_acc = test(test_loader, model, args)
TypeError: test() takes 2 positional arguments but 3 were given

https://github.com/zhan-xu/RigNet/blob/c5f5c985ca48700ac416b2f7f76a1fb3dde97554/run_root_cls.py#L111 test_loss, test_acc = test(test_loader, model, args) should be test_loss, test_acc = test(test_loader, model)

zhan-xu commented 3 years ago

thanks for pointing this out!

tamakoji commented 3 years ago

fix confirmed by commit 0a62754. thanks!