Variant_loss_function_vipl
- Comparison softmax loss, center loss and proposed loss in alex_net model
- The difference in the function
get_center_loss
- Prepare the image path and label path (train set)
- Run file
MMI_with_proposed_loss_alex_net.py
- Get the accuracy and confusion matrix in the test set
- Run file
test_MMI_with_proposed_loss_alex_net.py
- The difference in the function
VariantCenterLoss
invariantcenterloss.py
- Only in mnist dataset (example)
- Comment
test
phase and run filepytorch_test.py
- Comment
train
phase and run filepytorch_test.py