Skip to content
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

The question for training. #21

Closed
yuluu opened this issue Jun 14, 2019 · 8 comments
Closed

The question for training. #21

yuluu opened this issue Jun 14, 2019 · 8 comments

Comments

@yuluu
Copy link

yuluu commented Jun 14, 2019

"2>&1 | tee logs/siamfc_train.log" what is it:?

And when i running the training code. There is a mistake ---"BrokenPipeError: [Errno 32] Broken pipe".

@JudasDie
Copy link
Contributor

"2>&1 | tee logs/siamfc_train.log" what is it:?

And when i running the training code. There is a mistake ---"BrokenPipeError: [Errno 32] Broken pipe".

  1. To generate a log file.
  2. I believe these simple questions can be found answers on Baidu or Google. There is no need to open an issue to ask what a shell command means.
  3. I never meet Broken pipe errors while training. It seems something wrong with your CUDA or pytorch.

@JudasDie
Copy link
Contributor

"2>&1 | tee logs/siamfc_train.log" what is it:?

And when i running the training code. There is a mistake ---"BrokenPipeError: [Errno 32] Broken pipe".

Hello~
Have you fixed your problem? If yes, this issue will be closed.

@yuluu
Copy link
Author

yuluu commented Jun 21, 2019

"2>&1 | tee logs/siamfc_train.log" what is it:?
And when i running the training code. There is a mistake ---"BrokenPipeError: [Errno 32] Broken pipe".

Hello~
Have you fixed your problem? If yes, this issue will be closed.

OK,I will try it again. Thank you

@yuluu
Copy link
Author

yuluu commented Jun 21, 2019

"2>&1 | tee logs/siamfc_train.log" what is it:?
And when i running the training code. There is a mistake ---"BrokenPipeError: [Errno 32] Broken pipe".

Hello~
Have you fixed your problem? If yes, this issue will be closed.

OK,I will try it again. Thank you

RuntimeError: Error(s) in loading state_dict for SiamRPNRes22:
size mismatch for connect_model.template_cls.bias: copying a param of torch.Size([5120]) from checkpoint, where the shape is torch.Size([1280]) in current model.
size mismatch for connect_model.template_cls.weight: copying a param of torch.Size([5120, 512, 3, 3]) from checkpoint, where the shape is torch.Size([1280, 512, 3, 3]) in current model.
size mismatch for connect_model.template_reg.bias: copying a param of torch.Size([10240]) from checkpoint, where the shape is torch.Size([5120]) in current model.
size mismatch for connect_model.template_reg.weight: copying a param of torch.Size([10240, 512, 3, 3]) from checkpoint, where the shape is torch.Size([5120, 512, 3, 3]) in current model.
size mismatch for connect_model.search_cls.bias: copying a param of torch.Size([512]) from checkpoint, where the shape is torch.Size([256]) in current model.
size mismatch for connect_model.search_cls.weight: copying a param of torch.Size([512, 512, 3, 3]) from checkpoint, where the shape is torch.Size([256, 512, 3, 3]) in current model.
size mismatch for connect_model.search_reg.bias: copying a param of torch.Size([512]) from checkpoint, where the shape is torch.Size([256]) in current model.
size mismatch for connect_model.search_reg.weight: copying a param of torch.Size([512, 512, 3, 3]) from checkpoint, where the shape is torch.Size([256, 512, 3, 3]) in current model.

I update the code and the above error occurred when i use SiamRPNRes22 and CIResNet22_RPN.pth to test. It was not appear in the code before.

@yuluu
Copy link
Author

yuluu commented Jun 21, 2019

"2>&1 | tee logs/siamfc_train.log" what is it:?
And when i running the training code. There is a mistake ---"BrokenPipeError: [Errno 32] Broken pipe".

Hello~
Have you fixed your problem? If yes, this issue will be closed.

OK,I will try it again. Thank you

RuntimeError: Error(s) in loading state_dict for SiamRPNRes22:
size mismatch for connect_model.template_cls.bias: copying a param of torch.Size([5120]) from checkpoint, where the shape is torch.Size([1280]) in current model.
size mismatch for connect_model.template_cls.weight: copying a param of torch.Size([5120, 512, 3, 3]) from checkpoint, where the shape is torch.Size([1280, 512, 3, 3]) in current model.
size mismatch for connect_model.template_reg.bias: copying a param of torch.Size([10240]) from checkpoint, where the shape is torch.Size([5120]) in current model.
size mismatch for connect_model.template_reg.weight: copying a param of torch.Size([10240, 512, 3, 3]) from checkpoint, where the shape is torch.Size([5120, 512, 3, 3]) in current model.
size mismatch for connect_model.search_cls.bias: copying a param of torch.Size([512]) from checkpoint, where the shape is torch.Size([256]) in current model.
size mismatch for connect_model.search_cls.weight: copying a param of torch.Size([512, 512, 3, 3]) from checkpoint, where the shape is torch.Size([256, 512, 3, 3]) in current model.
size mismatch for connect_model.search_reg.bias: copying a param of torch.Size([512]) from checkpoint, where the shape is torch.Size([256]) in current model.
size mismatch for connect_model.search_reg.weight: copying a param of torch.Size([512, 512, 3, 3]) from checkpoint, where the shape is torch.Size([256, 512, 3, 3]) in current model.

I update the code and the above error occurred when i use SiamRPNRes22 and CIResNet22_RPN.pth to test. It was not appear in the code before.

get_eao.m
pwd = ['G:\data\tracking\VOT\vot-toolkit-master', 'vot-workspace', '2016'] % year is a str (can not be a number)
How to configure here? I am a newer and chicken,so there are more problems. Sorry.

@JudasDie
Copy link
Contributor

"2>&1 | tee logs/siamfc_train.log" what is it:?
And when i running the training code. There is a mistake ---"BrokenPipeError: [Errno 32] Broken pipe".

Hello~
Have you fixed your problem? If yes, this issue will be closed.

OK,I will try it again. Thank you

RuntimeError: Error(s) in loading state_dict for SiamRPNRes22:
size mismatch for connect_model.template_cls.bias: copying a param of torch.Size([5120]) from checkpoint, where the shape is torch.Size([1280]) in current model.
size mismatch for connect_model.template_cls.weight: copying a param of torch.Size([5120, 512, 3, 3]) from checkpoint, where the shape is torch.Size([1280, 512, 3, 3]) in current model.
size mismatch for connect_model.template_reg.bias: copying a param of torch.Size([10240]) from checkpoint, where the shape is torch.Size([5120]) in current model.
size mismatch for connect_model.template_reg.weight: copying a param of torch.Size([10240, 512, 3, 3]) from checkpoint, where the shape is torch.Size([5120, 512, 3, 3]) in current model.
size mismatch for connect_model.search_cls.bias: copying a param of torch.Size([512]) from checkpoint, where the shape is torch.Size([256]) in current model.
size mismatch for connect_model.search_cls.weight: copying a param of torch.Size([512, 512, 3, 3]) from checkpoint, where the shape is torch.Size([256, 512, 3, 3]) in current model.
size mismatch for connect_model.search_reg.bias: copying a param of torch.Size([512]) from checkpoint, where the shape is torch.Size([256]) in current model.
size mismatch for connect_model.search_reg.weight: copying a param of torch.Size([512, 512, 3, 3]) from checkpoint, where the shape is torch.Size([256, 512, 3, 3]) in current model.
I update the code and the above error occurred when i use SiamRPNRes22 and CIResNet22_RPN.pth to test. It was not appear in the code before.

get_eao.m
pwd = ['G:\data\tracking\VOT\vot-toolkit-master', 'vot-workspace', '2016'] % year is a str (can not be a number)
How to configure here? I am a newer and chicken,so there are more problems. Sorry.

  1. The first problem has been fixed. An additional key word cls_type is needed. See test.md
  2. You should set up vot-toolkit according to official tutorial
  3. It's suggested that you should read some papers to get familiar with common tracking benchmarks.
  4. Any proplem not related to this code please email me (zhangzhipeng2017@ia.ac.cn). I can give you more guildence through email than git-issue.
  5. If you have fixed this problem, please close this issue.

@yuluu
Copy link
Author

yuluu commented Jun 22, 2019

"2>&1 | tee logs/siamfc_train.log" what is it:?
And when i running the training code. There is a mistake ---"BrokenPipeError: [Errno 32] Broken pipe".

Hello~
Have you fixed your problem? If yes, this issue will be closed.

OK,I will try it again. Thank you

RuntimeError: Error(s) in loading state_dict for SiamRPNRes22:
size mismatch for connect_model.template_cls.bias: copying a param of torch.Size([5120]) from checkpoint, where the shape is torch.Size([1280]) in current model.
size mismatch for connect_model.template_cls.weight: copying a param of torch.Size([5120, 512, 3, 3]) from checkpoint, where the shape is torch.Size([1280, 512, 3, 3]) in current model.
size mismatch for connect_model.template_reg.bias: copying a param of torch.Size([10240]) from checkpoint, where the shape is torch.Size([5120]) in current model.
size mismatch for connect_model.template_reg.weight: copying a param of torch.Size([10240, 512, 3, 3]) from checkpoint, where the shape is torch.Size([5120, 512, 3, 3]) in current model.
size mismatch for connect_model.search_cls.bias: copying a param of torch.Size([512]) from checkpoint, where the shape is torch.Size([256]) in current model.
size mismatch for connect_model.search_cls.weight: copying a param of torch.Size([512, 512, 3, 3]) from checkpoint, where the shape is torch.Size([256, 512, 3, 3]) in current model.
size mismatch for connect_model.search_reg.bias: copying a param of torch.Size([512]) from checkpoint, where the shape is torch.Size([256]) in current model.
size mismatch for connect_model.search_reg.weight: copying a param of torch.Size([512, 512, 3, 3]) from checkpoint, where the shape is torch.Size([256, 512, 3, 3]) in current model.
I update the code and the above error occurred when i use SiamRPNRes22 and CIResNet22_RPN.pth to test. It was not appear in the code before.

get_eao.m
pwd = ['G:\data\tracking\VOT\vot-toolkit-master', 'vot-workspace', '2016'] % year is a str (can not be a number)
How to configure here? I am a newer and chicken,so there are more problems. Sorry.

  1. The first problem has been fixed. An additional key word cls_type is needed. See test.md
  2. You should set up vot-toolkit according to official tutorial
  3. It's suggested that you should read some papers to get familiar with common tracking benchmarks.
  4. Any proplem not related to this code please email me (zhangzhipeng2017@ia.ac.cn). I can give you more guildence through email than git-issue.
  5. If you have fixed this problem, please close this issue.

The first problem occurred when i ran the run_video.py. I will close this issue after I solved this problem.Thank you very much。

@yuluu
Copy link
Author

yuluu commented Jun 22, 2019

"2>&1 | tee logs/siamfc_train.log" what is it:?
And when i running the training code. There is a mistake ---"BrokenPipeError: [Errno 32] Broken pipe".

Hello~
Have you fixed your problem? If yes, this issue will be closed.

OK,I will try it again. Thank you

RuntimeError: Error(s) in loading state_dict for SiamRPNRes22:
size mismatch for connect_model.template_cls.bias: copying a param of torch.Size([5120]) from checkpoint, where the shape is torch.Size([1280]) in current model.
size mismatch for connect_model.template_cls.weight: copying a param of torch.Size([5120, 512, 3, 3]) from checkpoint, where the shape is torch.Size([1280, 512, 3, 3]) in current model.
size mismatch for connect_model.template_reg.bias: copying a param of torch.Size([10240]) from checkpoint, where the shape is torch.Size([5120]) in current model.
size mismatch for connect_model.template_reg.weight: copying a param of torch.Size([10240, 512, 3, 3]) from checkpoint, where the shape is torch.Size([5120, 512, 3, 3]) in current model.
size mismatch for connect_model.search_cls.bias: copying a param of torch.Size([512]) from checkpoint, where the shape is torch.Size([256]) in current model.
size mismatch for connect_model.search_cls.weight: copying a param of torch.Size([512, 512, 3, 3]) from checkpoint, where the shape is torch.Size([256, 512, 3, 3]) in current model.
size mismatch for connect_model.search_reg.bias: copying a param of torch.Size([512]) from checkpoint, where the shape is torch.Size([256]) in current model.
size mismatch for connect_model.search_reg.weight: copying a param of torch.Size([512, 512, 3, 3]) from checkpoint, where the shape is torch.Size([256, 512, 3, 3]) in current model.
I update the code and the above error occurred when i use SiamRPNRes22 and CIResNet22_RPN.pth to test. It was not appear in the code before.

get_eao.m
pwd = ['G:\data\tracking\VOT\vot-toolkit-master', 'vot-workspace', '2016'] % year is a str (can not be a number)
How to configure here? I am a newer and chicken,so there are more problems. Sorry.

  1. The first problem has been fixed. An additional key word cls_type is needed. See test.md
  2. You should set up vot-toolkit according to official tutorial
  3. It's suggested that you should read some papers to get familiar with common tracking benchmarks.
  4. Any proplem not related to this code please email me (zhangzhipeng2017@ia.ac.cn). I can give you more guildence through email than git-issue.
  5. If you have fixed this problem, please close this issue.

The first problem occurred when i ran the run_video.py. I will close this issue after I solved this problem.Thank you very much。

I have solved this problem.

@yuluu yuluu closed this as completed Jun 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants