dipamgoswami / ADC

Code for CVPR 2024 paper - Resurrecting Old Classes with New Data for Exemplar-Free Continual Learning
MIT License
10 stars 0 forks source link

About package versions #1

Closed YangJae96 closed 18 hours ago

YangJae96 commented 5 days ago

Hi. Thank you for great work!

Which version of pytorch did you use?

Could you upload some requirements.txt file to download the pacakages that is used in this work?!

Thanks in advance.

dipamgoswami commented 4 days ago

Hi, I have updated the readme file with the dependencies.

YangJae96 commented 4 days ago

Thank you!

After task 0 ends, I get error below.

torch.save(save_dict, "{}_{}.pkl".format(filename, self._cur_task))

File "/opt/conda/envs/adc/lib/python3.7/site-packages/torch/serialization.py", line 369, in save with _open_file_like(f, 'wb') as opened_file: File "/opt/conda/envs/adc/lib/python3.7/site-packages/torch/serialization.py", line 230, in _open_file_like return _open_file(name_or_buffer, mode) File "/opt/conda/envs/adc/lib/python3.7/site-packages/torch/serialization.py", line 211, in init super(_open_file, self).init(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: 'weights/lwf/cifar100_lwf_10_10_0.pkl'

Maybe additional code that generated the weights/lwf/ directory would help to avoid error.

dipamgoswami commented 18 hours ago

Hi, Thanks for finding the issue. I have added the code to create the directory now.