ConfeitoHS / arcle

A Gymnasium-based Environment of the Abstraction and Reasoning Corpus (ARC)
Apache License 2.0
55 stars 9 forks source link

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

Open Seondong opened 10 months ago

Seondong commented 10 months ago

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 commented 10 months ago

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