Skip to content

Commit

Permalink
♻️ Main program for qlearning train simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
igarag committed Jul 8, 2021
1 parent fedf428 commit 6544798
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions rl_studio/agents/f1/brains/train_qlearn.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
import datetime
import time
from functools import reduce

import gym
import numpy as np

from rl_studio.agents.f1 import liveplot
from rl_studio.agents.f1 import utils
from rl_studio.agents.f1 import settings
from rl_studio.agents.f1 import utils
from rl_studio.agents.f1.algorithms.qlearn import QLearn
from rl_studio.visual.ascii.text import JDEROBOT, QLEARN_CAMERA, LETS_GO
from rl_studio.visual.ascii.images import JDEROBOT_LOGO
from rl_studio.visual.ascii.text import JDEROBOT, QLEARN_CAMERA, LETS_GO

if __name__ == "__main__":

def main():

print(JDEROBOT)
print(JDEROBOT_LOGO)
Expand Down Expand Up @@ -206,3 +208,7 @@
plotter.plot_steps_vs_epoch(stats, save=True)

env.close()


if __name__ == "__main__":
main()

0 comments on commit 6544798

Please sign in to comment.