这是indexloc提供的服务,不要输入任何密码
Skip to content

A colab(free) way to test examples #267

@StevenJokess

Description

@StevenJokess

I'm new to tianshou, and I don't have any GPU.
Hope it will be helpful for those people to want to test tianshou like me.

Go to
https://colab.research.google.com/,
Files-->New Notebook

For example, we want to run atari_dqn.py --task "PongNoFrameskip-v4" --batch-size 64

!pip install git+https://github.com/thu-ml/tianshou.git@master --upgrade
!git clone https://github.com/thu-ml/tianshou.git

image

cd to right examples folder,

%cd '/content/tianshou/examples/atari'

image

%run atari_dqn.py --task "PongNoFrameskip-v4" --batch-size 64

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionDiscussion of a typical issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions