Skip to content

CoderWombat/susml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CNN training on edge devices

This repo contains code for running different convolutional neural networks on a Raspberry Pi cluster. The use case is transfer learning (only classification layers are learned) on a subset of ImageNet.

Run code

  • Start ray

ray stop && OMP_NUM_THREADS=3 ray start --address='192.168.0.13:6379' --redis-password='5241590000000000'

  • Start training

python ray/main.py

  • Parameters:

    • image_path: Path to dataset (format: data/train/<class_names>/<image_files> + data/val/<class_names>/<image_files>)
    • model_name: One of ['alexnet', 'resnet', 'mobilenet', 'quantized_mobilenet']
    • num_epochs: Number of epochs
    • batch_size: Batch size
    • num_workers: How many worker nodes to use
    • sync_param_server: Whether to use a synchronous instead of an async parameter server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published