Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Latest commit

 

History

History
21 lines (14 loc) · 412 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 412 Bytes

DQNsort

Sample run

Sorting 5 element arrays using Deep Q learning

Setup and Run

# Install dependencies
pip install -r requirements.txt

# Train
visdom # Run visdom server in separate terminal
python main.py train

# or without visdom
python main.py train --use_visdom False

# Test
python main.py test
python main.py compare # Test comparing bubble, random, dqn