-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hi, as I am trying to use the GUI, I encountered the following error:
Traceback (most recent call last):
File "Tag2Pix-release/main.py", line 117, in
main()
File "Tag2Pix-release/main.py", line 106, in main
gan = tag2pix(args)
File "/home/ec2-user/tag2pix-gui/Tag2Pix-release/tag2pix.py", line 61, in init
self.iv_dict, self.cv_dict, self.id_to_name = get_tag_dict(args.tag_dump)
File "/home/ec2-user/tag2pix-gui/Tag2Pix-release/loader/dataloader.py", line 38, in get_tag_dict
iv_tag_list = pkl['iv_tag_list']
TypeError: 'int' object is not subscriptable
And I found that the downloaded tag2pix_512.pkl dump only returns an integer 119547037146038801333356 when doing the following unpickling:
with open('tag2pix_512.pkl', 'rb') as f:
pkl = pickle.load(f)
However, the downloaded file tag2pix_512.pkl does show taking 71MB spaces. Wondering what is going on here. Thanks in advance.