sketch_nn / README.md
Aman Sharma
gradio demo added
105870d
|
raw
history blame
1.69 kB
metadata
title: Sketch Nn
emoji: 😻
colorFrom: pink
colorTo: blue
sdk: gradio
sdk_version: 4.38.1
app_file: app.py
pinned: false
license: mit

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Sketch NN: Neural Network Designer

Sketch NN Logo

Design Neural Networks with a Simple Sketch

Sketch NN is a powerful tool that allows you to design and generate PyTorch neural network code from simple flowchart sketches. With Sketch NN, you can quickly prototype complex neural architectures without writing a single line of code!

🌟 Features

  • πŸ“Έ Upload or capture flowchart images
  • 🧠 Supports a wide range of neural network layers
  • πŸ”§ Generates ready-to-use PyTorch code
  • πŸ–₯️ User-friendly Gradio web interface
  • πŸš€ FastAPI backend for scalable deployment

πŸ› οΈ Supported Layers

  • Convolutional (Conv2D)
  • Pooling (MaxPool2D, AvgPool2D)
  • Fully Connected (Linear)
  • Batch Normalization
  • Dropout
  • Activation Functions (ReLU, LeakyReLU, Sigmoid, Tanh)
  • Recurrent (LSTM, GRU)
  • Transformer
  • Multi-head Attention

πŸ–ΌοΈ How It Works

[Insert a diagram or flowchart here showing the process from sketch to code]

  1. Sketch your neural network architecture
  2. Upload or capture the image
  3. Sketch NN processes the image and extracts layer information
  4. PyTorch code is generated based on the extracted information
  5. Download and use the generated code in your project

πŸš€ Getting Started

Prerequisites

  • Python 3.7+
  • PyTorch
  • OpenCV
  • Tesseract OCR

Installation

pip install sketch-nn