### Install smartdownsample Source: https://github.com/petervanlunteren/smartdownsample/blob/main/README.md Installs the smartdownsample package using pip. GPU support requires installing the CUDA version of PyTorch separately. ```bash pip install smartdownsample ``` -------------------------------- ### Basic Usage of sample_diverse Source: https://github.com/petervanlunteren/smartdownsample/blob/main/README.md Demonstrates how to use the `sample_diverse` function to select a target number of images from a list of image paths. Ensure `my_image_list` is defined and populated. ```python from smartdownsample import sample_diverse selected = sample_diverse( image_paths=my_image_list, target_count=50000 ) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.