Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An implementation of Olshausen and Field (96) in PyTorch

License

NotificationsYou must be signed in to change notification settings

lpjiang97/sparse-coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an implementation of Olshausen and Field's sparse coding paper in PyTorch. Iterative Shrinkage/Thresholding Algorithm(ISTA) is used to fit neuronal responses for the input. Gradients for receptive fields are calculated through PyTorh's autogradfeature.

Run

To run the program:

cdsrc/scriptspythontrain.py

To see a list of available hyperparameters to change:

pythontrain.py-h

A checkpoint of the model is saved every 10 epochs totrained_models. To see the tensorboard logs:

tensorboard--logdir=runs

Will be added soon

  • Fast-ISTA

References

About

An implementation of Olshausen and Field (96) in PyTorch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2026 Movatter.jp