You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/xxx/neural-mmo/baselines/train.py", line 14, in <module>
from model.realikun.baseline_agent import BaselineAgent
File "/home/xxx/neural-mmo/baselines/model/realikun/baseline_agent.py", line 10, in <module>
from model.realikun.policy import BaselinePolicy
File "/home/xxx/neural-mmo/baselines/model/realikun/policy.py", line 5, in <module>
from env.nmmo_team_env import NMMOTeamEnv
File "/home/xxx/neural-mmo/baselines/env/nmmo_team_env.py", line 8, in <module>
from feature_extractor.feature_extractor import FeatureExtractor
File "/home/xxx/neural-mmo/baselines/feature_extractor/feature_extractor.py", line 6, in <module>
from feature_extractor.map_helper import MapHelper
File "/home/xxx/neural-mmo/baselines/feature_extractor/map_helper.py", line 9, in <module>
from nmmo.io import action
ModuleNotFoundError: No module named 'nmmo.io'
I solved the error ModuleNotFoundError: No module named 'nmmo.io' by changing from nmmo.io import action to from nmmo.core import action in /home/xxx/neural-mmo/baselines/feature_extractor/map_helper.py", line 9.
However, another error occurred when I run python train.py:
Traceback (most recent call last):
File "/home/xxx/neural-mmo/baselines/train.py", line 14, in <module>
from model.realikun.baseline_agent import BaselineAgent
File "/home/xxx/neural-mmo/baselines/model/realikun/baseline_agent.py", line 10, in <module>
from model.realikun.policy import BaselinePolicy
File "/home/xxx/neural-mmo/baselines/model/realikun/policy.py", line 5, in <module>
from env.nmmo_team_env import NMMOTeamEnv
File "/home/xxx/neural-mmo/baselines/env/nmmo_team_env.py", line 8, in <module>
from feature_extractor.feature_extractor import FeatureExtractor
File "/home/xxx/neural-mmo/baselines/feature_extractor/feature_extractor.py", line 6, in <module>
from feature_extractor.map_helper import MapHelper
File "/home/xxx/neural-mmo/baselines/feature_extractor/map_helper.py", line 34, in <module>
material.Forest.index: material.Scrub.index,
AttributeError: module 'nmmo.lib.material' has no attribute 'Forest'
9. Thus, there are some bugs, can the baselines repository run successfully?
The text was updated successfully, but these errors were encountered:
liuqi8827
changed the title
[Bug Report] ModuleNotFoundError: No module named 'nmmo.io'
[Bug Report] AttributeError: module 'nmmo.lib.material' has no attribute 'Forest'
Jul 21, 2023
OS: Ubuntu 16.04
Description:
Then, the error occurred:
ModuleNotFoundError: No module named 'nmmo.io'
by changingfrom nmmo.io import action
tofrom nmmo.core import action
in /home/xxx/neural-mmo/baselines/feature_extractor/map_helper.py", line 9.python train.py
:9. Thus, there are some bugs, can the
baselines
repository run successfully?The text was updated successfully, but these errors were encountered: