Skip to content

missing assets in the environment #1

@WeiChengTseng

Description

@WeiChengTseng

Hi! Thanks for sharing this cool project.

Recently, we would like to reproduce the results of this work, and I ran
python run.py --conf ../configs/cartpole/train/adap.yaml --exp-name cartpole

Then, I got the error shown below.

Traceback (most recent call last):
  File "run.py", line 5, in <module>
    from common import get_env_and_callbacks, get_name_creator, get_trainer, build_trainer_config, get_name_creator
  File "/media/champagne/ethan/adap/scripts/common.py", line 2, in <module>
    from adapenvs.farmworld.farmworld import Farmworld
  File "/media/champagne/ethan/adap/adaptation_envs/adapenvs/farmworld/farmworld.py", line 12, in <module>
    from adapenvs.farmworld.agent import Agent
  File "/media/champagne/ethan/adap/adaptation_envs/adapenvs/farmworld/agent.py", line 12, in <module>
    class Agent(Unit):
  File "/media/champagne/ethan/adap/adaptation_envs/adapenvs/farmworld/agent.py", line 21, in Agent
    sword = np.array(Image.open(get_resource_path("sword.png")))
  File "/home/ethan/anaconda3/envs/adap/lib/python3.8/site-packages/PIL/Image.py", line 2968, in open
    fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/media/champagne/ethan/adap/adaptation_envs/adapenvs/farmworld/resources/sword.png'

It seems that some assets are missing in this repo. Can you add those assets to the repo as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions