Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sparse_coding_torch
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Teachable AI Lab
sparse_coding_torch
Commits
5276af6d
Commit
5276af6d
authored
3 years ago
by
hannandarryl
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/main' into main
parents
c1d031a1
0319e4ae
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.rst
+5
-17
5 additions, 17 deletions
README.rst
with
5 additions
and
17 deletions
README.rst
+
5
−
17
View file @
5276af6d
Sparse Coding Library for
PyTorch
Sparse Coding Library for
Tensorflow
=================================
Installation
------------
To install the package, clone it to a local folder, then run `pip install -e .` from the folder to install the package in edit mode (so changes to the code are used).
Overview
------------
Main sparse coding file is found at:
script
s/train_
conv3d_
sparse_model.py
kera
s/train_sparse_model.py
Sparse coding command example:
python
scripts/train_conv3d
_sparse_model.py
python
train
_sparse_model.py
Main classification model is found at:
script
s/train_classifier.py
kera
s/train_classifier.py
Classification command example:
python data_classifiers/small_data_classifier.py --checkpoint sparse.pt
Run on a single Yolo clip with:
python scripts/run_on_single_image.py
Notes:
Need to have classifier.pt and sparse.pt (checkpoints) in root
Videos go in a directory called input_videos
python small_data_classifier.py --checkpoint sparse.pt
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment