Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ivo3123/CubeSolverRL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

67 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CubeSolverRL

A reinforcement learning project for solving Rubik's cubes, featuring a trained DQN agent, web API, and interactive frontend.

🎯 Project Overview

This project combines deep reinforcement learning with web technologies to create a complete Rubik's cube solving system:

  • 🧠 RL Agent: Deep Q-Network (DQN) trained to solve Rubik's cubes
  • πŸš€ FastAPI Backend: REST API for cube solving
  • 🎨 Vue.js Frontend: Interactive 3D cube visualization with Three.js
  • πŸ“Š Training Analytics: Comprehensive training data and performance metrics

πŸ—οΈ Project Structure

CubeSolverRL/
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ agent/              # DQN Agent implementation
β”‚   β”œβ”€β”€ cube/               # Cube logic and utilities
β”‚   β”œβ”€β”€ cube_env/           # Gymnasium environment
β”‚   β”œβ”€β”€ models/             # Trained models (.pt files)
β”‚   └── docs/               # Training documentation
β”œβ”€β”€ frontend/               # Vue.js + Three.js frontend
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   └── components/     # Vue components
β”‚   └── package.json
└── README.md

πŸš€ Quick Start

1. Backend API

cd backend/

uv install

uvicorn api:app --reload

2. Frontend

cd frontend/

npm install

npm run dev

πŸ“Š Training Analytics

The backend/docs/ directory contains detailed training analytics:

  • Training curves and metrics
  • Performance visualizations
  • Model comparison studies
  • Hyperparameter analysis

πŸ“š References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •