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
Epoch 1 has 10408 labeled samples of 234 ids and 2528 unlabeled samples
Traceback (most recent call last):
File "examples/main.py", line 381, in
main()
File "examples/main.py", line 151, in main
main_worker(args)
File "examples/main.py", line 279, in main_worker
feat_nv2recon, f, f_recon, f_nv, f_nv2recon, pid, index, config, iterations)
File "/home/ly/yx/GCL/gcl/trainer.py", line 112, in gen_update
self.memory_loss_id = self.memory(F.normalize(f), F.normalize(f_nv), index)
File "/home/ly/anaconda3/envs/GCL/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "/home/ly/yx/GCL/gcl/models/memory.py", line 66, in forward
negatives = torch.stack(negatives)
RuntimeError: stack expects each tensor to be equal size, but got [8192] at entry 0 and [7833] at entry 3
The text was updated successfully, but these errors were encountered:
Epoch 1 has 10408 labeled samples of 234 ids and 2528 unlabeled samples Traceback (most recent call last): File "examples/main.py", line 381, in main() File "examples/main.py", line 151, in main main_worker(args) File "examples/main.py", line 279, in main_worker feat_nv2recon, f, f_recon, f_nv, f_nv2recon, pid, index, config, iterations) File "/home/ly/yx/GCL/gcl/trainer.py", line 112, in gen_update self.memory_loss_id = self.memory(F.normalize(f), F.normalize(f_nv), index) File "/home/ly/anaconda3/envs/GCL/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in call result = self.forward(*input, **kwargs) File "/home/ly/yx/GCL/gcl/models/memory.py", line 66, in forward negatives = torch.stack(negatives) RuntimeError: stack expects each tensor to be equal size, but got [8192] at entry 0 and [7833] at entry 3
Epoch 1 has 10408 labeled samples of 234 ids and 2528 unlabeled samples
Traceback (most recent call last):
File "examples/main.py", line 381, in
main()
File "examples/main.py", line 151, in main
main_worker(args)
File "examples/main.py", line 279, in main_worker
feat_nv2recon, f, f_recon, f_nv, f_nv2recon, pid, index, config, iterations)
File "/home/ly/yx/GCL/gcl/trainer.py", line 112, in gen_update
self.memory_loss_id = self.memory(F.normalize(f), F.normalize(f_nv), index)
File "/home/ly/anaconda3/envs/GCL/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "/home/ly/yx/GCL/gcl/models/memory.py", line 66, in forward
negatives = torch.stack(negatives)
RuntimeError: stack expects each tensor to be equal size, but got [8192] at entry 0 and [7833] at entry 3
The text was updated successfully, but these errors were encountered: