-
Notifications
You must be signed in to change notification settings - Fork 27
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
ValueError: Could not find trained model in model_dir: ./output/sa_nn1. #2
Comments
Thank you for having interest in this repo. The code does not have the referred error messages but the deprecated messages have shown. Please check the updated code and try to run via |
@mamengyiyi
#modify start
|
Thank you, it work! |
Excuse me , can you run the project successfully? I still have problem as above..I' ve sent a e-mail to you. Would you like to communicate with me,plz |
hi, can you solve it? I have the same question |
Hi, thanks for your amazing work. When I tried to run the main.py, it occured this error. How can I resolve it please?Below are the traceback:
Traceback (most recent call last): File "main_with_actor_in_it.py", line 162, in <module> main() File "main_with_actor_in_it.py", line 97, in main actions = env.act(state) File "/home/my/.conda/envs/tensorflow1.8/lib/python3.6/site-packages/pommerman/envs/v0.py", line 137, in act return self.model.act(agents, obs, self.action_space) File "/home/my/.conda/envs/tensorflow1.8/lib/python3.6/site-packages/pommerman/forward_model.py", line 122, in act ret.append(act_ex_communication(agent)) File "/home/my/.conda/envs/tensorflow1.8/lib/python3.6/site-packages/pommerman/forward_model.py", line 101, in act_ex_communication return agent.act(obs[agent.agent_id], action_space=action_space) File "/home/my/playground/magnet/models/ddpg_agent.py", line 98, in act input_to_ddpg = self.__input_to_ddpg__(prev_state, curr_state) File "/home/my/playground/magnet/models/ddpg_agent.py", line 83, in __input_to_ddpg__ graph_predictions = np.asmatrix(list(itertools.islice(y_generator, prev_state.shape[0]))[0]['graph']) File "/home/my/.conda/envs/tensorflow1.8/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 488, in predict self._model_dir)) ValueError: Could not find trained model in model_dir: ./output/sa_nn1.
The text was updated successfully, but these errors were encountered: