Tags

    Machine learning project

    Comments

    /groups/isr/search/index.rss?tag=hotlist/groups/isr/search/?tag=hotWhat’s HotHotListHot!?tag=hot0/groups/isr/sidebar/HotListNo items tagged with hot.hot/groups/isr/search/index.rss?sort=modifiedDate&kind=all&sortDirection=reverse&excludePages=wiki/welcomelist/groups/isr/search/?sort=modifiedDate&kind=all&sortDirection=reverse&excludePages=wiki/welcomeRecent ChangesRecentChangesListUpdates?sort=modifiedDate&kind=all&sortDirection=reverse&excludePages=wiki/welcome0/groups/isr/sidebar/RecentChangesListmodifiedDateallRecent ChangesRecentChangesListUpdateswiki/welcomeNo recent changes.reverse5search
    Written by Andrej Karpathy 3 years ago -- now Head of AI at Tesla

    Steps
    - Install OpenAI gym
    • pip install gym
    - install Atari dependency for gym
    • pip install atari-py
    - copy and paste this code, save as pong.py

    Run it! Pong should pop up and play very badly for hours/days. Fun to watch!

    Here's a video that shows the exact Pong program running: https://www.youtube.com/watch?v=sP3INZSYhU0pip install atari-py

    My instance just lost 4-20 in this last game....still learning!