This error occurs when I run the following code:
python main.py --dataset cub200 --tau 55 --gamma 0.2 --gpu 0 --seed 0 --compos_num 4 --ensemble_num 4 --embed_dim 128 --bs 100 --n_epochs 300 --samples_per_class 2 --loss margin --batch_mining distance --arch resent50_frozen_normalize
Traceback (most recent call last):
File "main.py", line 108, in
import criteria as criteria
File "/home/disk/github/DCML-main/criteria/init.py", line 1, in
from criteria import triplet, margin, proxynca, npair
File "/home/disk/github/DCML-main/criteria/triplet.py", line 6, in
ALLOWED_MINING_OPS = list(batchminer.BATCHMINING_METHODS.keys())
AttributeError: module 'batchminer' has no attribute 'BATCHMINING_METHODS'
This error occurs when I run the following code:
python main.py --dataset cub200 --tau 55 --gamma 0.2 --gpu 0 --seed 0 --compos_num 4 --ensemble_num 4 --embed_dim 128 --bs 100 --n_epochs 300 --samples_per_class 2 --loss margin --batch_mining distance --arch resent50_frozen_normalize
Traceback (most recent call last): File "main.py", line 108, in
import criteria as criteria
File "/home/disk/github/DCML-main/criteria/init.py", line 1, in
from criteria import triplet, margin, proxynca, npair
File "/home/disk/github/DCML-main/criteria/triplet.py", line 6, in
ALLOWED_MINING_OPS = list(batchminer.BATCHMINING_METHODS.keys())
AttributeError: module 'batchminer' has no attribute 'BATCHMINING_METHODS'