Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Google Summer of Code 2021
This GitHub repo has been developed from scratch by Özgür Kara under GSoC 2021 organization. It consists of the main program and it's [detailed documentation](https://github.com/NISYSLAB/VisualRLComposer/blob/main/documentation.pdf). If there is any issue, you can contact me via ozgurrkara99@gmail.com
# Google Summer of Code 2021 & 2022
This GitHub repo has been developed from scratch by Özgür Kara under GSoC 2021 and has been extended by Mehul Sinha under GSoC 2022. It consists of the main program and it's [detailed documentation](https://github.com/NISYSLAB/VisualRLComposer/blob/main/documentation.pdf). If there is any issue, you can contact us via ozgurrkara99@gmail.com or mehulsinha73@gmail.com

# VisualRLComposer
The project aims to develop a GUI for facilitating the experimentation of Reinforcement Learning for the users. Particularly, researchers are able to test and implement their ideas and algorithms of reinforcement learning with the GUI easily even though they are not proficient in coding.
Expand All @@ -8,9 +8,14 @@ The project aims to develop a GUI for facilitating the experimentation of Reinfo
* PyQt5 based open source Graphical User Interface for visually testing the RL agents
* Dragging and dropping the components allow users to create flows easily
* Flows can be saved (in json format), loaded and new graphs can be opened using toolbar options
* Flows can also be created in DHGWorkflow, saved in GraphML format and loaded in VisualRLComposer as a new graph
* Users can create multiple Workflow graphs by opening a new scene tab
* During testing, the relevant values such as rewards, states and actions are updated in a real-time manner
* There are six built-in RL environments and reward functions from OpenAI Gym and six RL agents that are imported from stable-baselines3 library
* There are seven built-in RL environments and reward functions from OpenAI Gym and six RL agents that are imported from stable-baselines3 library
* Program allows users to both perform training and testing. Also, users can save their trained models as well as load their pretrained models according to their preferences
* Users can design custom policies for their RL models using the custom policy network designer
* The program allows users to train or test models with multi-environment experimentation in parallel
* The program allows user to keep track of model training via Tensorboard
* Users are able to integrate their custom environments and reward functions to the program by following the procedure in the documentation
* Detailed documentation and demo videos are provided in the GitHub page

Expand Down
File renamed without changes
Binary file modified documentation.pdf
Binary file not shown.
10 changes: 6 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
from PyQt5.QtWidgets import *
from PyQt5.QtWidgets import QApplication
from PyQt5.QtGui import QFont
import sys
import os
from rlcomposer.main_window import RLMainWindow

if __name__ == '__main__':
import os

os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE"
app = QApplication(sys.argv)
# app.setStyle('QtCurve')
app.setFont(QFont("Helvetica", 9))
wnd = RLMainWindow()
sys.exit(app.exec_())
print("Exited")
print("Exited")
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
altgraph==0.17
atari-py==0.2.9
swig
box2d-py==2.3.8
cloudpickle==1.6.0
cycler==0.10.0
future==0.18.2
gym==0.18.3
gym-sokoban==0.0.6
joblib==1.0.1
kiwisolver==1.3.1
matplotlib==3.4.2
Expand All @@ -30,5 +33,6 @@ scipy==1.6.3
six==1.16.0
stable-baselines==2.10.0
stable-baselines3==1.0
tensorboard==2.9.1
torch==1.9.0
typing-extensions==3.10.0.0
Loading