Skip to content
 
 

Repository files navigation

TensorMap

License

A web application for visually creating machine learning algorithms via drag-and-drop, with reverse engineering to TensorFlow code.

Features

  • Drag-and-drop neural network design using ReactFlow
  • Reverse engineer visual models to TensorFlow Python code
  • Real-time model training with live progress via WebSocket
  • CSV and image dataset upload and preprocessing
  • Correlation matrix visualization and target field selection

Prerequisites

  • Node.js >= 18
  • Python 3.12+
  • PostgreSQL
  • Docker (optional, for containerized setup)

Getting Started

Quick Start (Docker)

# Backend
cd tensormap-backend
docker build -t tensormap-backend .
docker run -p 4300:4300 --env-file .env tensormap-backend

# Frontend
cd tensormap-frontend
docker build -t tensormap-frontend .
docker run -p 3300:3300 tensormap-frontend

Backend

cd tensormap-backend
cp .env.example .env          # Configure DB credentials
uv sync
uv run uvicorn app.main:socket_app --reload --port 4300

Frontend

cd tensormap-frontend
cp .env.example .env          # Optional: configure API URL
npm install
npm start
Service Port
Frontend 3300
Backend 4300

Running Tests

# Backend
cd tensormap-backend && uv run pytest

# Frontend
cd tensormap-frontend && npm test

Project Structure

tensormap/
  tensormap-backend/    # Python FastAPI server
  tensormap-frontend/   # React + Vite SPA

Contributing

See CONTRIBUTING.md for guidelines.

License

Apache 2.0

Author

Oshan Mudannayake

For questions or queries about this project, please reach out via email.

About

TensorMap will be a web application that will allow the users to create machine learning algorithms visually. TensorMap will support reverse engineering of the visual layout to a Tensorflow implementation in preferred languages. The goal of the project is to let the beginners play with machine learning algorithms in Tensorflow without less backg…

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages