Open yuansaimei opened 3 years ago
I just did a clean install and training/testing. Everything worked just fine. Please check if you modified any code that lead to this error.
On Sun, Aug 22, 2021 at 9:22 PM yuansaimei @.***> wrote:
python test.py --policy sarl --model_dir data/output --phase test --visualize --test_case 0 --traj Traceback (most recent call last): File "test.py", line 8, in from crowd_nav.utils.explorer import Explorer File "/home/ubuntu/J/TLSGAN-master/crowd_nav/utils/explorer.py", line 7, in from crowd_nav.policy.policy_factory import policy_factory File "/home/ubuntu/J/TLSGAN-master/crowd_nav/policy/policy_factory.py", line 6, in policy_factory['cadrl'] = CADRL TypeError: 'module' object does not support item assignment
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vita-epfl/CrowdNav/issues/43, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADL5PTILYIOVZJUY3UKYY5TT6GWE5ANCNFSM5CTTOCAA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
python test.py --policy sarl --model_dir data/output --phase test --visualize --test_case 0 --traj Traceback (most recent call last): File "test.py", line 8, in
from crowd_nav.utils.explorer import Explorer
File "/home/ubuntu/J/TLSGAN-master/crowd_nav/utils/explorer.py", line 7, in
from crowd_nav.policy.policy_factory import policy_factory
File "/home/ubuntu/J/TLSGAN-master/crowd_nav/policy/policy_factory.py", line 6, in
policy_factory['cadrl'] = CADRL
TypeError: 'module' object does not support item assignment