Google colaboratory 如何解决';属性错误';当colab使用GPU时在健身房
这是我的密码:Google colaboratory 如何解决';属性错误';当colab使用GPU时在健身房,google-colaboratory,openai-gym,Google Colaboratory,Openai Gym,这是我的密码: !pip install box2d-py==2.3.8 import gym env = gym.make('CarRacing-v0') 错误消息是: AttributeError: module 'gym.envs.box2d' has no attribute 'CarRacing' 但是当colab使用CPU环境时,相同的代码是可以的
!pip install box2d-py==2.3.8
import gym
env = gym.make('CarRacing-v0')
错误消息是:
AttributeError: module 'gym.envs.box2d' has no attribute 'CarRacing'
但是当colab使用CPU环境时,相同的代码是可以的