Skip to content

AlfonsVac/ANS

Repository files navigation

Autodidactic Neurosurgeon Collaborative Deep Inference for Mobile Edge Intelligence via Online Learning

Autodidactic Neurosurgeon (ANS) is an online learning module to automatically learn the optimal DNN partition point on the fly. The details of ANS are in our WWW21 paper "Autodidactic Neurosurgeon Collaborative Deep Inference for Mobile Edge Intelligence via Online Learning".

PyTorch

We modify the forward function in the PyTorch to partition the DNN model.

You can run "vgg16.py" as an example to see the partition.

TensorFlow 2.0+

Although we don't provide the code for TensorFlow, you can modify the _call_ function in the TensorFlow to partition the DNN model.

Two examples:

How to run code:

  • First run edge_server_main.py on edge server
  • Then run client_camera_main.py on Nvidia Jetson TX2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages