An open API service indexing awesome lists of open source software.

https://github.com/uefi-code/neuro_mykakuritsu

Bionic Neuro Activation Pattern Research
https://github.com/uefi-code/neuro_mykakuritsu

bionic deep-learning pytorch

Last synced: 13 days ago
JSON representation

Bionic Neuro Activation Pattern Research

Awesome Lists containing this project

README

          

# Neuro myKakuritsu Research Code with PyTorch

## Idea

How your brain kept your memory while neuro cells are deactivating - or just there Dendritic deactivating?

Currently experiment on ImageNet 2012 showed our benefits, especially keep p = 50% in evaluation our performance 7.5% improvement than Normal way at Acc1, and 1.6% improvement at Acc5! That reflected our method improved the neuro cells random cooperation or de-dependence ability.

To see experiment details, go to [The Archieve](/Archieve) Page.

Still Need more Experment to prove this guess.

## Pretrained Data

We will no longer upload LFS because we have no money to buy the quato.

However, we will try to upload the Archieved pth files to [Google Drive](https://drive.google.com/drive/folders/1J2_FkFKFnkagXT4x3rEZagRy-eK4HX8w?usp=sharing).

## Usage

There are two version of experiment code.

Imagenet\_TrainFromZero.py contains NO pretrained ResNet152's weight, keeps its convolutional layers and removed its linear for experiment.

Imagenet\_TrainForExp.py keeps the pretrained ResNet152's weight, and model structure same as above.

```bash
python3 Imagenet_TrainForYOULIKE.py [args] [Dataset_Dir]

positional arguments:
DIR path to dataset (default: imagenet)

optional arguments:
-h, --help show this help message and exit
-a ARCH, --arch ARCH model architecture: Kakuritsu and Dropout, with ResNet152
-j N, --workers N number of data loading workers (default: 4)
--epochs N number of total epochs to run
--start-epoch N manual epoch number (useful on restarts)
-b N, --batch-size N mini-batch size (default: 64), this is the total batch size of all GPUs on the current node when using Data Parallel or Distributed Data Parallel
--lr LR, --learning-rate LR
initial learning rate
--momentum M momentum
--wd W, --weight-decay W
weight decay (default: 1e-4)
-p N, --print-freq N print frequency (default: 10)
--resume PATH path to latest checkpoint (default: none)
-e, --evaluate evaluate model on validation set
-sw, --switch Switch Dropout or myKakuritsu during Validation
--pretrained use pre-trained model
--world-size WORLD_SIZE
number of nodes for distributed training
--rank RANK node rank for distributed training
--dist-url DIST_URL url used to set up distributed training
--dist-backend DIST_BACKEND
distributed backend
--seed SEED seed for initializing training.
--gpu GPU GPU id to use.
--multiprocessing-distributed
Use multi-processing distributed training to launch N processes per node, which has N GPUs. This is the fastest way to use PyTorch for either single
node or multi node data parallel training
--dummy use fake data to benchmark
```

## Archieve

Archieved code, pth files, experiment results can be found [here](Archieve/)

## Credit

SuperHacker UEFI (Shizhuo Zhang)

Cookie (Yue Fang)

Research supported by Automation School, BISTU; Microsoft The Practice Space (ai-edu)