Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

'NoneType' object has no attribute 'copy' #1922

Open
sjtuzhaoxh opened this issue Dec 23, 2022 · 1 comment
Open

'NoneType' object has no attribute 'copy' #1922

sjtuzhaoxh opened this issue Dec 23, 2022 · 1 comment

Comments

@sjtuzhaoxh
Copy link

C:\Users\zhaoxianghui\AppData\Local\Programs\Python\Python38\python.exe D:\project\python\tensor2tensor-master\tensor2tensor\bin\t2t-trainer --registry_help
Traceback (most recent call last):
File "D:\project\python\tensor2tensor-master\tensor2tensor\bin\t2t-trainer", line 23, in
from tensor2tensor.bin import t2t_trainer
File "D:\project\python\tensor2tensor-master\tensor2tensor\bin\t2t_trainer.py", line 24, in
from tensor2tensor import models # pylint: disable=unused-import
File "D:\project\python\tensor2tensor-master\tensor2tensor\models_init_.py", line 51, in
from tensor2tensor.models.research import rl
File "D:\project\python\tensor2tensor-master\tensor2tensor\models\research\rl.py", line 27, in
from tensor2tensor.envs import tic_tac_toe_env
File "D:\project\python\tensor2tensor-master\tensor2tensor\envs_init_.py", line 23, in
from tensor2tensor.envs import tic_tac_toe_env
File "D:\project\python\tensor2tensor-master\tensor2tensor\envs\tic_tac_toe_env.py", line 244, in
register()
File "D:\project\python\tensor2tensor-master\tensor2tensor\envs\tic_tac_toe_env.py", line 239, in register
unused_tictactoe_id, unused_tictactoe_env = gym_utils.register_gym_env(
File "D:\project\python\tensor2tensor-master\tensor2tensor\rl\gym_utils.py", line 360, in register_gym_env
return env_name, gym.make(env_name)
File "C:\Users\zhaoxianghui\AppData\Local\Programs\Python\Python38\lib\site-packages\gym\envs\registration.py", line 572, in make
kwargs = spec.kwargs.copy()
AttributeError: 'NoneType' object has no attribute 'copy'

@sjtuzhaoxh
Copy link
Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant