Skip to content

Latest commit

 

History

History
82 lines (55 loc) · 4.17 KB

File metadata and controls

82 lines (55 loc) · 4.17 KB

Running Pre-build Project

Steps=>

First Four steps are same as building project from scratch

1] Gathering all the Accessories:-
We gathered all the Accessories mentioned above from the local market and collected 2GB Developer kit.

2] Preparing for Setup:-
-connect SD card to PC/Laptop
-Download SD card Image (For 2 GB kit)
-Download SD Card Formatter & Install it.
image
-Quick format the SD card
image
-Download , Install & Launch ETCHER
image
-Select Downloaded image, select target device as Memory card then flash ( takes more than 10 min)
3] Setting up Kit:-
Insert the SD card in kit
image

Attach the Accessories in slots of kit as shown below
image
image

  • Turn On power supply & wait for system to boot
  • When you boot the first time, the developer kit will take you through some initial setup, including:
    • Review and accept NVIDIA Jetson software EULA
    • Select system language, keyboard layout, and time zone
    • Create username, password, and computer name
    • Optionally configure wireless networking
    • Select APP partition size. It is recommended to use the max size suggested
    • Create a swap file. It is recommended to create a swap file

3] Welcome screen:-
image

4] Downloading Jetson Inference with Docker Container:-

Open Terminal and type following command

git clone --recursive https://github.com/dusty-nv/jetson-inference

Wait until it downloads the container( May take 10-15 mins on slow connection)
Change Directory to jetson-inference using below command

cd jetson-inference

Run the Docker container command, It will ask for the password of your kit. Enter password(in Linux the password you type is not shown) and press enter

docker/run.sh

It may take time in First time running the docker command and ask for models that you want to download. Download default models and presss ok

image

5] Now download the Project.rar file from here https://drive.google.com/file/d/1PgXG13vUNIofIlw480FAM_Y8ybLxdo66/view?usp=drive_web

6]Extract the folder you'll get data & Models folder. Replace these folders at below location

Jetson-inference/python/training/classification/

7]Directly test the project

use this command to test cancer model

imagenet --model=models/ct-scan/resnet18.onnx --input_blob=input_0 --output_blob=output_0 --labels=data/ct-scan/labels.txt data/Project/Test01/Input/mix data/Project/Test01/Output

Use this command to test x-ray model

imagenet --model=models/xray/resnet18.onnx --input_blob=input_0 --output_blob=output_0 --labels=data/xray/labels.txt data/Project/Test02/Input/mix data/Project/Test02/Output

For live detection
cancer model

imagenet --model=models/ct-scan/resnet18.onnx --input_blob=input_0 --output_blob=output_0 --labels=data/ct-scan/labels.txt /dev/video0

X-ray model

imagenet --model=models/xray/resnet18.onnx --input_blob=input_0 --output_blob=output_0 --labels=data/xray/labels.txt /dev/video0