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

test - o2arcex.py, o2arc_check.py 실행 오류 #4

Open
Seondong opened this issue Dec 25, 2023 · 1 comment
Open

test - o2arcex.py, o2arc_check.py 실행 오류 #4

Seondong opened this issue Dec 25, 2023 · 1 comment

Comments

@Seondong
Copy link

Seondong commented Dec 25, 2023

o2arc_check.pyo2arcex.py을 실행하면 다음과 같은 에러가 뜹니다.

(base) sundong@172 arcle % python tests/o2arc_check.py  
Traceback (most recent call last):
  File "/Users/sundong/Documents/mldl-code/arcle-agent/arcle/tests/o2arc_check.py", line 147, in <module>
    obs, info = env.reset(options= {'adaptation':False, 'prob_index':findbyname(traces_info[idx][0]), 'subprob_index': traces_info[idx][1]})
  File "/Users/sundong/anaconda3/lib/python3.10/site-packages/gymnasium/wrappers/order_enforcing.py", line 61, in reset
    return self.env.reset(**kwargs)
  File "/Users/sundong/anaconda3/lib/python3.10/site-packages/gymnasium/wrappers/env_checker.py", line 57, in reset
    return env_reset_passive_checker(self.env, **kwargs)
  File "/Users/sundong/anaconda3/lib/python3.10/site-packages/gymnasium/utils/passive_env_checker.py", line 186, in env_reset_passive_checker
    result = env.reset(**kwargs)
  File "/Users/sundong/Documents/mldl-code/arcle-agent/arcle/arcle/envs/base.py", line 95, in reset
    ex_in, ex_out, tt_in, tt_out, desc = self.loader.pick(data_index=self.prob_index)
  File "/Users/sundong/Documents/mldl-code/arcle-agent/arcle/arcle/loaders/loader.py", line 45, in pick
    assert self.data is not None and len(self.data)>0, "Dataset wasn't loaded properly"
AssertionError: Dataset wasn't loaded properly
@ConfeitoHS
Copy link
Owner

Hello, It seems that there is a problem related to absolute path. Would you unzip and install this .whl package manually and test again?

It can be installed by pip install arcle-0.2.5.post4-py3-none-any.whl .
arcle-0.2.5.post4-py3-none-any.zip

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

2 participants