You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the following issue raises and I've put the dataset under Datasets directory and the data is fine.
Getting pretrained weights...
Done.
MARGINLOSS Setup for RESNET50 with DISTANCE sampling on IN-SHOP complete with #weights: 23770304
Traceback (most recent call last):
File "Standard_Training.py", line 161, in <module>
dataloaders = data.give_dataloaders(opt.dataset, opt)
File "/home/code/Deep-Metric-Learning-Baselines/datasets.py", line 50, in give_dataloaders
datasets = give_InShop_datasets(opt)
File "/home/code/Deep-Metric-Learning-Baselines/datasets.py", line 280, in give_InShop_datasets
train_dataset = BaseTripletDataset(train_image_dict, opt, samples_per_class=opt.samples_per_class)
File "/home/code/Deep-Metric-Learning-Baselines/datasets.py", line 398, in __init__
transforms.RandomHorizontalFlip(0.5)])
TypeError: object() takes no parameters
So, could u shed me some light? Thanks!
The text was updated successfully, but these errors were encountered:
Hi, @Confusezius ,
Thanks for your excellent code and for sharing it!
When running
the following issue raises and I've put the dataset under
Datasets
directory and the data is fine.So, could u shed me some light? Thanks!
The text was updated successfully, but these errors were encountered: