Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run "run_test.sh" failed and ConfigParam not found. #1

Open
halfmanli opened this issue Nov 1, 2023 · 2 comments
Open

Run "run_test.sh" failed and ConfigParam not found. #1

halfmanli opened this issue Nov 1, 2023 · 2 comments

Comments

@halfmanli
Copy link

halfmanli commented Nov 1, 2023

I run the commands in run_test.sh and it shows errors:

==================================================================================================================== FAILURES ====================================================================================================================
_____________________________________________________________________________________________________________________ test_N _____________________________________________________________________________________________________________________

    def test_N():
>       config = params.ConfigParam()
E       AttributeError: module 'params' has no attribute 'ConfigParam'

tests/test_params.py:5: AttributeError
___________________________________________________________________________________________________________________ test_limbs ___________________________________________________________________________________________________________________

    def test_limbs():
>       config = params.ConfigParam()
E       AttributeError: module 'params' has no attribute 'ConfigParam'

tests/test_params.py:10: AttributeError
______________________________________________________________________________________________________________ test_eval_img_limbs _______________________________________________________________________________________________________________

    def test_eval_img_limbs():
>       config = params.ConfigParam()
E       AttributeError: module 'params' has no attribute 'ConfigParam'

tests/test_params.py:15: AttributeError
____________________________________________________________________________________________________________ test_slot_to_coeff_limbs ____________________________________________________________________________________________________________

    def test_slot_to_coeff_limbs():
>       config = params.ConfigParam()
E       AttributeError: module 'params' has no attribute 'ConfigParam'

tests/test_params.py:20: AttributeError
============================================================================================================ short test summary info =============================================================================================================
FAILED tests/test_params.py::test_N - AttributeError: module 'params' has no attribute 'ConfigParam'
FAILED tests/test_params.py::test_limbs - AttributeError: module 'params' has no attribute 'ConfigParam'
FAILED tests/test_params.py::test_eval_img_limbs - AttributeError: module 'params' has no attribute 'ConfigParam'
FAILED tests/test_params.py::test_slot_to_coeff_limbs - AttributeError: module 'params' has no attribute 'ConfigParam'
=============================================================================================================== 4 failed in 0.08s ===============================================================================================================

I cannot find ConfigParam in params.py, could you please help me?

@ajayjoshi
Copy link
Member

Run Experiment.py. Use python3 or above.

@arcturusannamalai
Copy link

I have a fix in new PR; the code is missing / not pushed to remote I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants