-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About error of aim #5
Comments
Are you training or testing? |
when I am traing the epoch of 120 |
You can change as: |
Thank you, but that's not proof that the inference phase didn't use AIM |
If you want to track the inference phase, you can run |
Thank you very much! |
I encountered the following error during change this operation, how to solve it? Epoch[1] Complete. Time taken: 00:01:00 Process finished with exit code 1 |
I encountered the following error during operation, how to solve it?
Epoch[1] Complete. Time taken: 00:01:00
Engine run complete. Time taken 00:01:00
Engine run is terminating due to exception: 'Engine' object has no attribute 'aim'
Traceback (most recent call last):
File "/home/T3090U2/project/CQS/code/infrared/SAAI/train.py", line 219, in
train(cfg)
File "/home/T3090U2/project/CQS/code/infrared/SAAI/train.py", line 153, in train
engine.run(train_loader, max_epochs=cfg.num_epoch)
File "/home/T3090U2/anaconda3/envs/saai/lib/python3.10/site-packages/ignite/engine/engine.py", line 326, in run
self._handle_exception(e)
File "/home/T3090U2/anaconda3/envs/saai/lib/python3.10/site-packages/ignite/engine/engine.py", line 291, in _handle_exception
raise e
File "/home/T3090U2/anaconda3/envs/saai/lib/python3.10/site-packages/ignite/engine/engine.py", line 317, in run
self._fire_event(Events.EPOCH_COMPLETED)
File "/home/T3090U2/anaconda3/envs/saai/lib/python3.10/site-packages/ignite/engine/engine.py", line 226, in _fire_event
func(self, *(event_args + args), **kwargs)
File "/home/T3090U2/project/CQS/code/infrared/SAAI/engine/init.py", line 150, in epoch_completed_callback
mAP, r1, r5, _, _ = eval_sysu(q_feats, q_ids, q_cams, g_feats, g_ids, g_cams, g_img_paths, perm, mode='all', num_shots=1, aim=engine.aim)
AttributeError: 'Engine' object has no attribute 'aim'
The text was updated successfully, but these errors were encountered: