Skip to content

RBirkeland/RotationNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RotationNet

Make virtualenv for Python 2.7 and install packages

virtualenv --python=/usr/bin/python2.7 --no-site-packages env
source env/bin/activate

pip install -r requirements.txt 

Train network

python controller.py <dataset path>

Test network

python controller.py <dataset path> -e -r <checkpoint file>

Important hyperparameters

--pretrained          # Use pretrained model
--arch                # Architecture (f.ex resnet18, densenet121, alexnet)
--views               # Number of views (supports 2, 3, 12, 20)
--lr                  # Learning rate
-b                    # Batch size (must be divisible by number of views)
-r  <checkpoint path> # Resume from checkpoint
-e                    # Evaluatation mode, only use test set (use together with -r to test model)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages