Automatically exit from operation after starting operation

Automatically exit from operation after starting operation
Computer: Mac
There is no problem with the environment configuration
But as soon as you input the command and start the training, the program will automatically exit!
Why? How to solve it???
Report these:

2021-02-24 09:35:51 WARNING [trainer_factory.py:60] Behavior name shoot does not match any behaviors specifiedin the trainer configuration file: [ ]

/Users/jy_jy_/opt/anaconda3/envs/ml-agents/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.

_np_qint8 = np.dtype([(“qint8”, np.int8, 1)])

/Users/jy_jy_/opt/anaconda3/envs/ml-agents/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.

_np_quint8 = np.dtype([(“quint8”, np.uint8, 1)])

/Users/jy_jy_/opt/anaconda3/envs/ml-agents/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.

_np_qint16 = np.dtype([(“qint16”, np.int16, 1)])

/Users/jy_jy_/opt/anaconda3/envs/ml-agents/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.

_np_quint16 = np.dtype([(“quint16”, np.uint16, 1)])

/Users/jy_jy_/opt/anaconda3/envs/ml-agents/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:521: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.

_np_qint32 = np.dtype([(“qint32”, np.int32, 1)])

/Users/jy_jy_/opt/anaconda3/envs/ml-agents/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:526: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.

np_resource = np.dtype([(“resource”, np.ubyte, 1)])

2021-02-24 09:35:54 INFO [trainer_controller.py:81] Saved Model

Traceback (most recent call last):

File “/Users/jy_jy_/opt/anaconda3/envs/ml-agents/bin/mlagents-learn”, line 33, in

sys.exit(load_entry_point(‘mlagents’, ‘console_scripts’, ‘mlagents-learn’)())

File “/Users/jy_jy_/Downloads/ml-agents-master 2/ml-agents/mlagents/trainers/learn.py”, line 250, in main

run_cli(parse_command_line())

File “/Users/jy_jy_/Downloads/ml-agents-master 2/ml-agents/mlagents/trainers/learn.py”, line 246, in run_cli

run_training(run_seed, options)

File “/Users/jy_jy_/Downloads/ml-agents-master 2/ml-agents/mlagents/trainers/learn.py”, line 125, in run_training

tc.start_learning(env_manager)

File “/Users/jy_jy_/opt/anaconda3/envs/ml-agents/lib/python3.6/site-packages/mlagents_envs/timers.py”, line 305, in wrapped

return func(*args, **kwargs)

File “/Users/jy_jy_/Downloads/ml-agents-master 2/ml-agents/mlagents/trainers/trainer_controller.py”, line 173, in start_learning

self._reset_env(env_manager)

File “/Users/jy_jy_/opt/anaconda3/envs/ml-agents/lib/python3.6/site-packages/mlagents_envs/timers.py”, line 305, in wrapped

return func(*args, **kwargs)

File “/Users/jy_jy_/Downloads/ml-agents-master 2/ml-agents/mlagents/trainers/trainer_controller.py”, line 107, in _reset_env

self._register_new_behaviors(env_manager, env_manager.first_step_infos)

File “/Users/jy_jy_/Downloads/ml-agents-master 2/ml-agents/mlagents/trainers/trainer_controller.py”, line 267, in _register_new_behaviors

self._create_trainers_and_managers(env_manager, new_behavior_ids)

File “/Users/jy_jy_/Downloads/ml-agents-master 2/ml-agents/mlagents/trainers/trainer_controller.py”, line 166, in _create_trainers_and_managers

self._create_trainer_and_manager(env_manager, behavior_id)

File “/Users/jy_jy_/Downloads/ml-agents-master 2/ml-agents/mlagents/trainers/trainer_controller.py”, line 125, in _create_trainer_and_manager

trainer = self.trainer_factory.generate(brain_name)

File “/Users/jy_jy_/Downloads/ml-agents-master 2/ml-agents/mlagents/trainers/trainer/trainer_factory.py”, line 74, in generate

self.multi_gpu,

File “/Users/jy_jy_/Downloads/ml-agents-master 2/ml-agents/mlagents/trainers/trainer/trainer_factory.py”, line 123, in _initialize_trainer

trainer_artifact_path,

File “/Users/jy_jy_/Downloads/ml-agents-master 2/ml-agents/mlagents/trainers/ppo/trainer.py”, line 53, in init

reward_buff_cap,

File “/Users/jy_jy_/Downloads/ml-agents-master 2/ml-agents/mlagents/trainers/trainer/rl_trainer.py”, line 53, in init

StatsPropertyType.HYPERPARAMETERS, self.trainer_settings.as_dict()

File “/Users/jy_jy_/Downloads/ml-agents-master 2/ml-agents/mlagents/trainers/stats.py”, line 290, in add_property

writer.add_property(self.category, property_type, value)

File “/Users/jy_jy_/Downloads/ml-agents-master 2/ml-agents/mlagents/trainers/stats.py”, line 251, in add_property

self._maybe_create_summary_writer(category)

File “/Users/jy_jy_/Downloads/ml-agents-master 2/ml-agents/mlagents/trainers/stats.py”, line 228, in _maybe_create_summary_writer

self.summary_writers[category] = SummaryWriter(filewriter_dir)

File “/Users/jy_jy_/opt/anaconda3/envs/ml-agents/lib/python3.6/site-packages/torch/utils/tensorboard/writer.py”, line 221, in init

self._get_file_writer()

File “/Users/jy_jy_/opt/anaconda3/envs/ml-agents/lib/python3.6/site-packages/torch/utils/tensorboard/writer.py”, line 252, in _get_file_writer

self.flush_secs, self.filename_suffix)

File “/Users/jy_jy_/opt/anaconda3/envs/ml-agents/lib/python3.6/site-packages/torch/utils/tensorboard/writer.py”, line 62, in init

log_dir, max_queue, flush_secs, filename_suffix)

File “/Users/jy_jy_/opt/anaconda3/envs/ml-agents/lib/python3.6/site-packages/tensorboard/summary/writer/event_file_writer.py”, line 76, in init

if not tf.io.gfile.exists(logdir):

File “/Users/jy_jy_/opt/anaconda3/envs/ml-agents/lib/python3.6/site-packages/tensorboard/lazy.py”, line 68, in getattr

return getattr(load_once(self), attr_name)

AttributeError: module ‘tensorflow’ has no attribute ‘io’

I’ll flag with the team for some guidance!