Skip to content

Commit 9587276

Browse files
committed
fix bugs
1 parent 1bcdb5d commit 9587276

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ python scripts/main.py --root PATH_TO_DATAROOT \
4242
--transforms random_flip\
4343
--optim sgd --lr 0.02\
4444
--stepsize 25 50\
45-
--staged-lr --height 384 --width 192\
45+
--staged-lr --height 384 --width 128\
4646
--batch-size 32 --base-lr-mult 0.5
4747
```
4848
## To train PVPM

torchreid/losses/hard_mine_triplet_loss.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import torch
55
import torch.nn as nn
66
import numpy as np
7-
import miosqp
7+
# import miosqp
88

99
class TripletLoss(nn.Module):
1010
"""Triplet loss with hard positive/negative mining.

0 commit comments

Comments
 (0)