Skip to content

Instantly share code, notes, and snippets.

@r-ryantm
Created December 12, 2020 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r-ryantm/08405258e5f3a9c6da0d23b9af85bd21 to your computer and use it in GitHub Desktop.
Save r-ryantm/08405258e5f3a9c6da0d23b9af85bd21 to your computer and use it in GitHub Desktop.
/nix/store/0iwc6ibbd1h54jq22ir4dbafi1x8kk3i-python3.7-pytorch-metric-learning-0.9.95
├── lib
│   └── python3.7
│   └── site-packages
│   ├── pytorch_metric_learning
│   │   ├── distances
│   │   │   ├── base_distance.py
│   │   │   ├── cosine_similarity.py
│   │   │   ├── dot_product_similarity.py
│   │   │   ├── __init__.py
│   │   │   ├── lp_distance.py
│   │   │   ├── __pycache__
│   │   │   │   ├── base_distance.cpython-37.pyc
│   │   │   │   ├── cosine_similarity.cpython-37.pyc
│   │   │   │   ├── dot_product_similarity.cpython-37.pyc
│   │   │   │   ├── __init__.cpython-37.pyc
│   │   │   │   ├── lp_distance.cpython-37.pyc
│   │   │   │   └── snr_distance.cpython-37.pyc
│   │   │   └── snr_distance.py
│   │   ├── __init__.py
│   │   ├── losses
│   │   │   ├── angular_loss.py
│   │   │   ├── arcface_loss.py
│   │   │   ├── base_metric_loss_function.py
│   │   │   ├── circle_loss.py
│   │   │   ├── contrastive_loss.py
│   │   │   ├── cosface_loss.py
│   │   │   ├── cross_batch_memory.py
│   │   │   ├── fast_ap_loss.py
│   │   │   ├── generic_pair_loss.py
│   │   │   ├── __init__.py
│   │   │   ├── intra_pair_variance_loss.py
│   │   │   ├── large_margin_softmax_loss.py
│   │   │   ├── lifted_structure_loss.py
│   │   │   ├── margin_loss.py
│   │   │   ├── mixins.py
│   │   │   ├── multi_similarity_loss.py
│   │   │   ├── nca_loss.py
│   │   │   ├── normalized_softmax_loss.py
│   │   │   ├── n_pairs_loss.py
│   │   │   ├── ntxent_loss.py
│   │   │   ├── proxy_anchor_loss.py
│   │   │   ├── proxy_losses.py
│   │   │   ├── __pycache__
│   │   │   │   ├── angular_loss.cpython-37.pyc
│   │   │   │   ├── arcface_loss.cpython-37.pyc
│   │   │   │   ├── base_metric_loss_function.cpython-37.pyc
│   │   │   │   ├── circle_loss.cpython-37.pyc
│   │   │   │   ├── contrastive_loss.cpython-37.pyc
│   │   │   │   ├── cosface_loss.cpython-37.pyc
│   │   │   │   ├── cross_batch_memory.cpython-37.pyc
│   │   │   │   ├── fast_ap_loss.cpython-37.pyc
│   │   │   │   ├── generic_pair_loss.cpython-37.pyc
│   │   │   │   ├── __init__.cpython-37.pyc
│   │   │   │   ├── intra_pair_variance_loss.cpython-37.pyc
│   │   │   │   ├── large_margin_softmax_loss.cpython-37.pyc
│   │   │   │   ├── lifted_structure_loss.cpython-37.pyc
│   │   │   │   ├── margin_loss.cpython-37.pyc
│   │   │   │   ├── mixins.cpython-37.pyc
│   │   │   │   ├── multi_similarity_loss.cpython-37.pyc
│   │   │   │   ├── nca_loss.cpython-37.pyc
│   │   │   │   ├── normalized_softmax_loss.cpython-37.pyc
│   │   │   │   ├── n_pairs_loss.cpython-37.pyc
│   │   │   │   ├── ntxent_loss.cpython-37.pyc
│   │   │   │   ├── proxy_anchor_loss.cpython-37.pyc
│   │   │   │   ├── proxy_losses.cpython-37.pyc
│   │   │   │   ├── signal_to_noise_ratio_losses.cpython-37.pyc
│   │   │   │   ├── soft_triple_loss.cpython-37.pyc
│   │   │   │   ├── sphereface_loss.cpython-37.pyc
│   │   │   │   ├── triplet_margin_loss.cpython-37.pyc
│   │   │   │   └── tuplet_margin_loss.cpython-37.pyc
│   │   │   ├── signal_to_noise_ratio_losses.py
│   │   │   ├── soft_triple_loss.py
│   │   │   ├── sphereface_loss.py
│   │   │   ├── triplet_margin_loss.py
│   │   │   └── tuplet_margin_loss.py
│   │   ├── miners
│   │   │   ├── angular_miner.py
│   │   │   ├── base_miner.py
│   │   │   ├── batch_easy_hard_miner.py
│   │   │   ├── batch_hard_miner.py
│   │   │   ├── distance_weighted_miner.py
│   │   │   ├── embeddings_already_packaged_as_triplets.py
│   │   │   ├── hdc_miner.py
│   │   │   ├── __init__.py
│   │   │   ├── maximum_loss_miner.py
│   │   │   ├── multi_similarity_miner.py
│   │   │   ├── pair_margin_miner.py
│   │   │   ├── __pycache__
│   │   │   │   ├── angular_miner.cpython-37.pyc
│   │   │   │   ├── base_miner.cpython-37.pyc
│   │   │   │   ├── batch_easy_hard_miner.cpython-37.pyc
│   │   │   │   ├── batch_hard_miner.cpython-37.pyc
│   │   │   │   ├── distance_weighted_miner.cpython-37.pyc
│   │   │   │   ├── embeddings_already_packaged_as_triplets.cpython-37.pyc
│   │   │   │   ├── hdc_miner.cpython-37.pyc
│   │   │   │   ├── __init__.cpython-37.pyc
│   │   │   │   ├── maximum_loss_miner.cpython-37.pyc
│   │   │   │   ├── multi_similarity_miner.cpython-37.pyc
│   │   │   │   ├── pair_margin_miner.cpython-37.pyc
│   │   │   │   └── triplet_margin_miner.cpython-37.pyc
│   │   │   └── triplet_margin_miner.py
│   │   ├── __pycache__
│   │   │   └── __init__.cpython-37.pyc
│   │   ├── reducers
│   │   │   ├── avg_non_zero_reducer.py
│   │   │   ├── base_reducer.py
│   │   │   ├── class_weighted_reducer.py
│   │   │   ├── divisor_reducer.py
│   │   │   ├── do_nothing_reducer.py
│   │   │   ├── __init__.py
│   │   │   ├── mean_reducer.py
│   │   │   ├── multiple_reducers.py
│   │   │   ├── __pycache__
│   │   │   │   ├── avg_non_zero_reducer.cpython-37.pyc
│   │   │   │   ├── base_reducer.cpython-37.pyc
│   │   │   │   ├── class_weighted_reducer.cpython-37.pyc
│   │   │   │   ├── divisor_reducer.cpython-37.pyc
│   │   │   │   ├── do_nothing_reducer.cpython-37.pyc
│   │   │   │   ├── __init__.cpython-37.pyc
│   │   │   │   ├── mean_reducer.cpython-37.pyc
│   │   │   │   ├── multiple_reducers.cpython-37.pyc
│   │   │   │   └── threshold_reducer.cpython-37.pyc
│   │   │   └── threshold_reducer.py
│   │   ├── regularizers
│   │   │   ├── base_regularizer.py
│   │   │   ├── center_invariant_regularizer.py
│   │   │   ├── __init__.py
│   │   │   ├── lp_regularizer.py
│   │   │   ├── __pycache__
│   │   │   │   ├── base_regularizer.cpython-37.pyc
│   │   │   │   ├── center_invariant_regularizer.cpython-37.pyc
│   │   │   │   ├── __init__.cpython-37.pyc
│   │   │   │   ├── lp_regularizer.cpython-37.pyc
│   │   │   │   ├── regular_face_regularizer.cpython-37.pyc
│   │   │   │   ├── sparse_centers_regularizer.cpython-37.pyc
│   │   │   │   └── zero_mean_regularizer.cpython-37.pyc
│   │   │   ├── regular_face_regularizer.py
│   │   │   ├── sparse_centers_regularizer.py
│   │   │   └── zero_mean_regularizer.py
│   │   ├── samplers
│   │   │   ├── fixed_set_of_triplets.py
│   │   │   ├── __init__.py
│   │   │   ├── m_per_class_sampler.py
│   │   │   ├── __pycache__
│   │   │   │   ├── fixed_set_of_triplets.cpython-37.pyc
│   │   │   │   ├── __init__.cpython-37.pyc
│   │   │   │   ├── m_per_class_sampler.cpython-37.pyc
│   │   │   │   └── tuples_to_weights_sampler.cpython-37.pyc
│   │   │   └── tuples_to_weights_sampler.py
│   │   ├── testers
│   │   │   ├── base_tester.py
│   │   │   ├── global_embedding_space.py
│   │   │   ├── global_twostream_embedding_space.py
│   │   │   ├── __init__.py
│   │   │   ├── __pycache__
│   │   │   │   ├── base_tester.cpython-37.pyc
│   │   │   │   ├── global_embedding_space.cpython-37.pyc
│   │   │   │   ├── global_twostream_embedding_space.cpython-37.pyc
│   │   │   │   ├── __init__.cpython-37.pyc
│   │   │   │   └── with_same_parent_label.cpython-37.pyc
│   │   │   └── with_same_parent_label.py
│   │   ├── trainers
│   │   │   ├── base_trainer.py
│   │   │   ├── cascaded_embeddings.py
│   │   │   ├── deep_adversarial_metric_learning.py
│   │   │   ├── __init__.py
│   │   │   ├── metric_loss_only.py
│   │   │   ├── __pycache__
│   │   │   │   ├── base_trainer.cpython-37.pyc
│   │   │   │   ├── cascaded_embeddings.cpython-37.pyc
│   │   │   │   ├── deep_adversarial_metric_learning.cpython-37.pyc
│   │   │   │   ├── __init__.cpython-37.pyc
│   │   │   │   ├── metric_loss_only.cpython-37.pyc
│   │   │   │   ├── train_with_classifier.cpython-37.pyc
│   │   │   │   ├── twostream_metric_loss.cpython-37.pyc
│   │   │   │   └── unsupervised_embeddings_using_augmentations.cpython-37.pyc
│   │   │   ├── train_with_classifier.py
│   │   │   ├── twostream_metric_loss.py
│   │   │   └── unsupervised_embeddings_using_augmentations.py
│   │   └── utils
│   │   ├── accuracy_calculator.py
│   │   ├── common_functions.py
│   │   ├── distributed.py
│   │   ├── inference.py
│   │   ├── __init__.py
│   │   ├── logging_presets.py
│   │   ├── loss_and_miner_utils.py
│   │   ├── loss_tracker.py
│   │   ├── module_with_records_and_reducer.py
│   │   ├── module_with_records.py
│   │   ├── __pycache__
│   │   │   ├── accuracy_calculator.cpython-37.pyc
│   │   │   ├── common_functions.cpython-37.pyc
│   │   │   ├── distributed.cpython-37.pyc
│   │   │   ├── inference.cpython-37.pyc
│   │   │   ├── __init__.cpython-37.pyc
│   │   │   ├── logging_presets.cpython-37.pyc
│   │   │   ├── loss_and_miner_utils.cpython-37.pyc
│   │   │   ├── loss_tracker.cpython-37.pyc
│   │   │   ├── module_with_records_and_reducer.cpython-37.pyc
│   │   │   ├── module_with_records.cpython-37.pyc
│   │   │   └── stat_utils.cpython-37.pyc
│   │   └── stat_utils.py
│   └── pytorch_metric_learning-0.9.95.dist-info
│   ├── direct_url.json
│   ├── INSTALLER
│   ├── LICENSE
│   ├── METADATA
│   ├── RECORD
│   ├── REQUESTED
│   ├── top_level.txt
│   └── WHEEL
└── nix-support
└── propagated-build-inputs
25 directories, 189 files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment