Skip to content

NeuroSyd/SNN-YOLO-Cell-Detection

Repository files navigation

SNN-YOLO Cell Detection

Cell detection is enabled with the SNN-YOLO network with neuromorphic imaging data. The current network was trained on polystyrene-based microparticles in the size of 3, 8, 15 um, THP1 and LL/2 cell lines.

The performance of the network was compared with conventional YOLOv3 with event-generated frames to serve as a baseline.

Training

Requirment

We do not have a sp

Wizard

Torch

Snntorch

Numpy

Our environment is in the requirement.txt The experiment platform is Ubuntu 22.04

Data preparation:

Before using the code to transform the raw data, you need to ensure the format of the raw data. The defult data format is EVT 3. You can change the raw data format in this function in tools.py

wizard = Wizard(encoding="evt3")

You need to test the timestamp of each event since we do not test for other format data.

After adjusting the format and setting the storage path, you can use the following commands to convert your raw data.

python ./tools.py

Training

After setting your own path, you can use the following command:

python ./Yolo3_Train.py

You can adjust the number of two different kind of models by adjusting the following function:

train_and_evaluate(CNN = False,train_dataset=dataset_image,test_dataset=dataset_image_t,totalNum=YOUR_NUM)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages