VICO-UoE / URL

Universal Representation Learning from Multiple Domains for Few-shot Classification - ICCV 2021, Cross-domain Few-shot Learning with Task-specific Adapters - CVPR 2022
MIT License
126 stars 17 forks source link

An small problem, really need your help! #4

Closed stayhungry1 closed 2 years ago

stayhungry1 commented 2 years ago

Hi Prof. Lee! @WeiHongLee

I really appreciate the wonderful work and really want to have a try. When I train each single model(for example, 'dtd'), there is error in meta_dataset.data.reader.py. There are errors in Line 245 and 246: self.base_path = self.dataset_spec.path self.class_set = self.dataset_spec.get_classes(self.split). Since the 'dtd' is str, I wonder the method for solving this problem. Thanks a lot!

WeiHongLee commented 2 years ago

Hi, you can check your python version. This code requires python3.6 or a greater version. Hope this can help!