-
Notifications
You must be signed in to change notification settings - Fork 54
[WIP] Integration with DeepLabCut 3.0 - PyTorch Engine #121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
n-poulsen
wants to merge
67
commits into
main
Choose a base branch
from
dlclive3
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+11,005
−2,659
Open
Changes from all commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
b11743c
Remove TensorFlow references
dikraMasrour c8f5839
Add comments on TF questions for changing dlc-live pipeline to Pytorch
AnnaStuckert 030c42c
Vanilla pytorch inference done; Commenting out TensorFlow references …
dikraMasrour d75339a
change testing directory for Anna and allow to run on CPU
AnnaStuckert 4de5829
Fix display, clean code, adapt frame processing, onnx inference
dikraMasrour 40a9dd4
add screenshots
n-poulsen 2fc48f1
Fix CPU inference crash + GPU (cuda) & CPU support for Pytorch and ON…
dikraMasrour 125a072
Video analysis feature
AnnaStuckert 9d2350e
Improvements on benchmark_pytorch.py
AnnaStuckert 13b8fae
Implement TensorRT optimisation on ONNX models and FP16 precision inf…
dikraMasrour 8b41df6
Avs live feed
AnnaStuckert d1e7df9
Tutorial notebook in progress
dikraMasrour 2fb39fc
bug fixing h5 saving for live video feed
AnnaStuckert 98b3a13
add code to save numbers in csv and h5 as numbers, not tensor(number)
AnnaStuckert e6a914a
add timestamp suffix to videos and csv/h5 files
AnnaStuckert 29c8122
fix live inference and display, black and isort
dikraMasrour 9508a79
cleaning out unused files
AnnaStuckert d61f892
update docstrings, clean dlclive script
dikraMasrour f527d38
Continued DeepLabCut-Live implementation for DeepLabCut 3.0
n-poulsen 4c07e04
working on README
n-poulsen 82daf43
improved docs
n-poulsen 40005ae
improved docs for PyTorch code
n-poulsen c6a1f69
improved readme
n-poulsen d738a2c
fix default top down dynamic cropping parameters
n-poulsen 9524092
Update README.md
MMathisLab 6db3901
Update .gitignore
maximpavliv b7a527e
CI/CD update python version
maximpavliv 8c2f1af
CI/CD update actions versions
maximpavliv 15c1364
CI/CD update trigger events
maximpavliv 4444e3d
CI/CD update MacOS version
maximpavliv 0fefc95
dlclibrary set version to >=0.0.6
maximpavliv 85ad7cb
Poetry lock
maximpavliv c479b11
Poetry lock
maximpavliv acd7e3e
Pyproject.toml update tensorflow installation
maximpavliv d70b7e8
Poetry lock
maximpavliv 114c55a
Install specific tensorflow-io-gcs-filesystem for windows
maximpavliv 6ed7faf
Poetry lock
maximpavliv 594dee8
Update deprecated section name
maximpavliv b7e3ae2
Poetry lock
maximpavliv fb3424c
Merge branch 'maxim/fix_cicd' into dlclive3
maximpavliv 751abea
Poetry lock
maximpavliv d27e8e1
CI/CD install Tensorflow
maximpavliv 55def2e
Fix missing DLCLive precision attribute
maximpavliv 87ac706
benchmark_pytorch fix imports order resulting in crash
maximpavliv d8f8eb0
Correct arg name
maximpavliv 02c1a27
Benchmark pytorch: remove snapshot argument
maximpavliv fb1314e
Fix incorrect bbox unpacking
maximpavliv a00af6c
Benchmark pytorch: fix read config
maximpavliv 58a094a
Benchmark pytorch: rename method
maximpavliv 77c2f43
Benchmark pytorch: fix loop
maximpavliv 2b7c520
Benchmark pytorch - update display params
maximpavliv 45c85a5
Formatting
maximpavliv 5b10eb1
Benchmark pytorch: change save_dir default value
maximpavliv 7227c98
Benchmark pytorch: extract setup_video_writer()
maximpavliv ad62af4
Benchmark pytorch: extract draw_pose_and_write()
maximpavliv 014b96b
Add detector_transform and pose_transform
maximpavliv e03fb1d
Display: fix multi-animal frame display
maximpavliv 045de53
Benchmark pytorch: add single_animal arg
maximpavliv b493bef
Benchmark pytorch: dont setup videowriter if not needed
maximpavliv dfe5817
Benchmark pytorch: fix save_poses_to_files()
maximpavliv c6ee1ba
Benchmark pytorch: docstring
maximpavliv 9b5d8f1
Benchmark pytorch: formatting
maximpavliv a29415d
Benchmark pytorch: introduce n_frames and progress bar
maximpavliv 3660dcf
Benchmark pytorch: remove try-except block
maximpavliv f8fb374
Delete poetry.lock
MMathisLab a096c94
SimCCPredictor: add visilibity computation (#131)
maximpavliv ac75b2a
[WIP] Continue work on Integration with DeepLabCut 3.0 (#127)
maximpavliv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is pretty odd - conda is used to install numpy twice, but then the poetry env is installed and used later?