martinwholtmon / IT3920-2024-Master-MSIT

Master project for MSIT 2024 - Towards Efficient Human Action Recognition: The Role of Keyframe Selection in Video Processing
MIT License
0 stars 0 forks source link

Implement repeated augmentation for each video #68

Closed martinwholtmon closed 5 months ago

martinwholtmon commented 5 months ago

This pull request implements the functionality to perform repeated augmentation for each video. It adds the num_sample argument to the build_dataset function, allowing the user to specify the number of times the same sample should be augmented. Finally, it updates the _shared_step method in the LightningModule class to handle cases where the features are a list by concatenating all the elements such that the batch size is increased.