Closed aaahuia closed 3 years ago
windows
question about shutil.make_archive(save_file, 'zip')
Traceback (most recent call last):
File "E:\master\article\python\SiamTrackers-master\SiamCAR\SiamCAR-master\tools\test.py", line 126, in main()
File "E:\master\article\python\SiamTrackers-master\SiamCAR\SiamCAR-master\tools\test.py", line 121, in main shutil.make_archive(save_file, 'zip')
File "E:\anaconda\1\envs\pysot\lib\shutil.py", line 822, in make_archive filename = func(base_name, base_dir, **kwargs)
File "E:\anaconda\1\envs\pysot\lib\shutil.py", line 705, in _make_zipfile compression=zipfile.ZIP_DEFLATED) as zf:
File "E:\anaconda\1\envs\pysot\lib\zipfile.py", line 1240, in init self.fp = io.open(file, filemode)
OSError: [Errno 22] Invalid argument: '../<toolkit.datasets.otb.OTBDataset object at 0x000001D693731948>.zip'
windows
question about shutil.make_archive(save_file, 'zip')
Traceback (most recent call last):
File "E:\master\article\python\SiamTrackers-master\SiamCAR\SiamCAR-master\tools\test.py", line 126, in
main()
File "E:\master\article\python\SiamTrackers-master\SiamCAR\SiamCAR-master\tools\test.py", line 121, in main shutil.make_archive(save_file, 'zip')
File "E:\anaconda\1\envs\pysot\lib\shutil.py", line 822, in make_archive filename = func(base_name, base_dir, **kwargs)
File "E:\anaconda\1\envs\pysot\lib\shutil.py", line 705, in _make_zipfile compression=zipfile.ZIP_DEFLATED) as zf:
File "E:\anaconda\1\envs\pysot\lib\zipfile.py", line 1240, in init self.fp = io.open(file, filemode)
OSError: [Errno 22] Invalid argument: '../<toolkit.datasets.otb.OTBDataset object at 0x000001D693731948>.zip'