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

I have some problems about MC-Simulator's setup, Could you give me some tips about it #4

Open
MCZhouyf opened this issue Jun 17, 2024 · 0 comments

Comments

@MCZhouyf
Copy link

I have some problems about MC-Simulator's setup, Could you give me some tips about it:
when I run validate install.py ,task: harvest_wool with_shears_and_sheep,the error is:
(planner) (base) zzz@zzz-SYS-7048GR-TR:~/MC-Simulator/scripts$ python validate_install.py
[INFO:minedojo.tasks] Loaded 1572 Programmatic tasks, 1558 Creative tasks, and 1 special task: "Playthrough". Totally 3131 tasks loaded.
/home/zzz/anaconda3/envs/planner/lib/python3.9/site-packages/numpy/core/numeric.py:330: RuntimeWarning: invalid value encountered in cast
multiarray.copyto(a, fill_value, casting='unsafe')
[INFO] Create a task with prompt: shear a sheep with shears and a sheep nearby

Launching a Malmo instance with online mode <<<<<<
[INFO:minedojo.tasks] Loaded 1572 Programmatic tasks, 1558 Creative tasks, and 1 special task: "Playthrough". Totally 3131 tasks loaded.
Traceback (most recent call last):
File "/home/zzz/MC-Simulator/scripts/validate_install.py", line 14, in
env.reset()
File "/home/zzz/anaconda3/envs/planner/lib/python3.9/site-packages/gym/core.py", line 292, in reset
return self.env.reset(**kwargs)
File "/home/zzz/MC-Simulator/minedojo/sim/wrappers/ar_nn/delta_inventory_wrapper.py", line 79, in reset
observation = self.env.reset(**kwargs)
File "/home/zzz/anaconda3/envs/planner/lib/python3.9/site-packages/gym/core.py", line 319, in reset
observation = self.env.reset(**kwargs)
File "/home/zzz/MC-Simulator/minedojo/sim/wrappers/ar_nn/nn_action_space_wrapper.py", line 356, in reset
obs = self.env.reset(**kwargs)
File "/home/zzz/MC-Simulator/minedojo/tasks/meta/harvest.py", line 323, in reset
obs = super(HarvestMeta, self).reset(**kwargs)
File "/home/zzz/MC-Simulator/minedojo/tasks/meta/base.py", line 123, in reset
obs, info = self._after_sim_reset_hook(obs, info)
File "/home/zzz/MC-Simulator/minedojo/tasks/meta/base.py", line 464, in _after_sim_reset_hook
mobs_rel_positions = self._mob_spawn_range_spaces[0].sample()
File "/home/zzz/anaconda3/envs/planner/lib/python3.9/site-packages/gym/core.py", line 235, in getattr
raise AttributeError(
AttributeError: attempted to get missing private attribute '_mob_spawn_range_spaces'

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

1 participant