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

NoneType object cannot be interpreted as integer #1

Open
Usmaniatech opened this issue Jul 11, 2019 · 3 comments
Open

NoneType object cannot be interpreted as integer #1

Usmaniatech opened this issue Jul 11, 2019 · 3 comments

Comments

@Usmaniatech
Copy link

After training when I run the command to see the trained actions, it does'nt work

python player.py --env ./env/Tennis_Linux/Tennis.x86_64 --agent maddpg --model ./runs/2019-07-11-203509/multi

It does not create a src folder but it creates the runs folder that contains the logs and pth files.
Capturenonetype
The code looks fine to me. Dont know why I am getting this error.

@dkal3
Copy link

dkal3 commented Apr 2, 2020

Hi!!!
I have the same problem...
Could someone help?
Thank you in advance!!

@Usmaniatech
Copy link
Author

It's simple. The data type of object is NoneType.
Check type(variable/object)
It will return None. Convert it into required data type.

@dkal3
Copy link

dkal3 commented Apr 2, 2020

Thank you very much!!!

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

2 participants