Skip to content

Code for the pytorch models used in the retinal-rl project (and related non-rl usages)

Notifications You must be signed in to change notification settings

berenslab/retinal-rl-models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

retinal-rl-models

Code for the pytorch models used in the retinal-rl project (and related non-rl usages)

Installation

After cloning the repository, go into the toplevel directory and run:

pip install -e .

Usage

To load a model config, execute the following code:

from retinal_rl_models.base_model import BaseModel

model = BaseModel.load("configs/stride_downsample.cfg")

The function automatically imports the correct class based on the config. If there is a .pth file with the same name, the weights from that file are also loaded.

About

Code for the pytorch models used in the retinal-rl project (and related non-rl usages)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages