BotCL
BotCL copied to clipboard
Learning Bottleneck Concepts in Image Classification
hi, i am confused about how to compute the contrastive loss in the paper, as it mentioned in the paper to calculate lret through (t,t',y,y') , but in the code,...
I get the following error when running ```python main_recon.py --num_classes 10 --num_cpt 20 --lr 0.001 --epoch 50 --lr_drop 30```: AttributeError: '_MultiProcessingDataLoaderIter' object has no attribute 'next' Pytorch versions: ```torch==2.0.1``` and...
Based on your implementation, why does the slot attention iterate with the same q & k? ``` https://github.com/wbw520/BotCL/blob/3dde3ac20cdecd7eea8c4b7cb0e04e2bb95f639b/model/contrast/slots.py#L37 def forward(self, inputs_pe, inputs, weight=None, things=None): b, n, d = inputs_pe.shape slots...