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 119, in
main(args)
File "D:\Initital_code\CSA-main\CSA-main\test.py", line 95, in main
test(datasets=['roxford5k', 'rparis6k'], name=args.test_name, net=model, topk=args.topk, 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'])
TypeError: 'int' object is not subscriptable
The text was updated successfully, but these errors were encountered:
File "D:\Initital_code\CSA-main\CSA-main\test.py", line 119, in
main(args)
File "D:\Initital_code\CSA-main\CSA-main\test.py", line 95, in main
test(datasets=['roxford5k', 'rparis6k'], name=args.test_name, net=model, topk=args.topk, 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'])
TypeError: 'int' object is not subscriptable
The text was updated successfully, but these errors were encountered: