Hello,
I want to get some metrics by running a CNN on jetson nano. Has anyone run a Convolution Neural Network from a github or any other source that is reliable and runs for over an hour, so that I can get some metrics about time etc? I have tried some but they do not run in embedded jetson nano + Ubuntu OS etc. That is I ask for your help… Thank you!
Hi plaketas1, check out this repo: https://github.com/dusty-nv/jetson-inference
You could run camera inferencing on one of the included pre-trained models for a long time.
Alternatively, if you are interested in training, it includes transfer learning with PyTorch here:
https://github.com/dusty-nv/jetson-inference/blob/master/docs/pytorch-transfer-learning.md
In this link:
<img src="https://github.com/dusty-nv/jetson-inference/raw/master/docs/images/deep-vision-header.jpg" width="100%">
<p align="right"><sup><a href="pytorch-cat-dog.md">Back</a> | <a href="pytorch-collect.md">Next</a> | </sup><a href="../README.md#hello-ai-world"><sup>Contents</sup></a>
<br/>
<sup>Transfer Learning - Classification</sup></s></p>
# Re-training on the PlantCLEF Dataset
Next, we'll train a model capable of classifying 20 different varieties of plants and trees from the <a href="https://www.imageclef.org/lifeclef/2017/plant">PlantCLEF</a> dataset.
<a href="https://www.imageclef.org/lifeclef/2017/plant"><img src="https://github.com/dusty-nv/jetson-inference/raw/python/docs/images/pytorch-plants.jpg"></a>
Provided below is a 1.5GB subset that includes 10,475 training images, 1,155 validation images, and 30 test images across 20 classes of plants and trees. The classes were selected from PlantCLEF 2017 from categories that had at least 500 training images in the original dataset:
```
• ash
• beech
• cat-tail
• cedar
• clover
• cyprus
This file has been truncated. show original
it says:
We’ll use the same training script that we did from the previous example, located under python/training/classification/. By default it’s set to train a ResNet-18 model, but you can change that with the --arch flag.
However the link: python/training/classification/
does not work. How do I do the training?
I cannot find the
train.py
on folder:
/Desktop/jetson-inference-master/python/training/classification
What is wrong??
Do you see anything under that folder, or is it empty?
If it’s empty, the submodules may not have been cloned - try running this:
$ cd /Desktop/jetson-inference-master
$ git submodule update --init
If all else fails, the code for PyTorch classification training is in this submodule: https://github.com/dusty-nv/pytorch-classification/tree/6b8fcd38fee76cae26e43b9bd547491813bf423d