| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Co-authored-by: maximpavliv <37336830+maximpavliv@users.noreply.github.com>
Co-authored-by: maximpavliv <37336830+maximpavliv@users.noreply.github.com>
Co-authored-by: maximpavliv <37336830+maximpavliv@users.noreply.github.com>
Co-authored-by: maximpavliv <37336830+maximpavliv@users.noreply.github.com>
Co-authored-by: maximpavliv <37336830+maximpavliv@users.noreply.github.com>
There was a problem hiding this comment.
LGTM!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This pull request implements features for API methods that were not yet available for PyTorch models.
deeplabcut.analyze_images
The analyze_time_lapse_frames method is added to the PyTorch API, such that it can be called with PyTorch models in the same way as it was for TensorFlow models. Below the hood, it calls the analyze_images method.
The analyze_images (which can only be called for PyTorch models - analyze_time_lapse_frames should still be used for TensorFlow models) is added to the compat.py so that it can be called as:
New features are also added to the analyze_images method as well:
deeplabcut.analyze_videos
The in_random_order and n_tracks parameters are implemented for video analysis with PyTorch models.
Dynamic cropping (through the dynamic argument) is now available for analyze_videos with PyTorch models. This function is implemented through a DynamicCropper cropper class, which is fully tested.
The greedy, calibrate and window_size arguments still need to be implemented. They are only valid for PAF-models, and require that more information is added to the _full.pickle file when running video analysis. This will be done in a subsequent pull request.
deeplabcut.train_network
The keepdeconvweights argument is implemented, which allows to continue. Two additional arguments are added to the method: epochs and save_epochs. These arguments could already be passed, but making them explicit makes it clearer for users how they can be used.