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
File "D:\Initital_code\CSA-main\CSA-main\test.py", line 121, in
main(args)
File "D:\Initital_code\CSA-main\CSA-main\test.py", line 97, in main
test(datasets=['roxford5k', 'rparis6k'], name=args.test_name, net=model, topk=args.topk, anchor_len=args.anchor_len, device=device)
File "C:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\torch\autograd\grad_mode.py", line 28, in decorate_context
return func(*args, **kwargs)
File "D:\Initital_code\CSA-main\CSA-main\test.py", line 37, in test
vecs = torch.tensor(feature['db']).float()
TypeError: 'int' object is not subscriptable
Press any key to continue . . .
The text was updated successfully, but these errors were encountered:
File "D:\Initital_code\CSA-main\CSA-main\test.py", line 121, in main(args) File "D:\Initital_code\CSA-main\CSA-main\test.py", line 97, in main test(datasets=['roxford5k', 'rparis6k'], name=args.test_name, net=model, topk=args.topk, anchor_len=args.anchor_len, device=device) File "C:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\torch\autograd\grad_mode.py", line 28, in decorate_context return func(*args, **kwargs) File "D:\Initital_code\CSA-main\CSA-main\test.py", line 37, in test vecs = torch.tensor(feature['db']).float() TypeError: 'int' object is not subscriptable Press any key to continue . . .
Hi, have you trained this project successfully? I am curious about generate_topk in ImageFromList.py #6
File "D:\Initital_code\CSA-main\CSA-main\test.py", line 121, in
main(args)
File "D:\Initital_code\CSA-main\CSA-main\test.py", line 97, in main
test(datasets=['roxford5k', 'rparis6k'], name=args.test_name, net=model, topk=args.topk, anchor_len=args.anchor_len, device=device)
File "C:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\torch\autograd\grad_mode.py", line 28, in decorate_context
return func(*args, **kwargs)
File "D:\Initital_code\CSA-main\CSA-main\test.py", line 37, in test
vecs = torch.tensor(feature['db']).float()
TypeError: 'int' object is not subscriptable
Press any key to continue . . .
The text was updated successfully, but these errors were encountered: