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

I run your program and got only 0.1%AUC on OTB100 #48

Open
Yvonneie opened this issue Jul 18, 2019 · 4 comments
Open

I run your program and got only 0.1%AUC on OTB100 #48

Yvonneie opened this issue Jul 18, 2019 · 4 comments

Comments

@Yvonneie
Copy link

Thanks for your work at first. I download your code and just change "data_path" in file "test_OTB100" to my folder of OTB100 sequences , and use the model "siamrpn_38"that you provided, but when I run "test_OTB100.py" ,I got only 0.1% AUC on that. and I don't know why. Is there anything I forgot, or anything I did wrong ?

@Clannad000000
Copy link

Have you solved this problem?When I run the basketabll sequence,I find the results have many minus...

@lgdhang
Copy link

lgdhang commented Sep 23, 2019

I have this problem either.

@renlicheng
Copy link

When I run "test_OTB100",I had this problem In the test frame: Can you help me!!

/home/rlc/anaconda3/envs/H_R-Siamese-RPN/bin/python /home/rlc/H_R-Siamese-RPN/bin/test_OTB.py -ms /home/rlc/H_R-Siamese-RPN/imagenet_pretrain/siamrpn_38.pth -v tb100
0%| | 0/3 [00:00<?, ?it/s]
0%| | 0/98 [00:00<?, ?it/s]

0%| | 0/725 [00:00<?, ?it/s]

0%| | 1/725 [00:00<02:01, 5.96it/s]/home/rlc/H_R-Siamese-RPN/lib/utils.py:165: RuntimeWarning: overflow encountered in multiply
box_w = anchor_w * np.exp(offset_w)
/home/rlc/H_R-Siamese-RPN/lib/utils.py:166: RuntimeWarning: overflow encountered in multiply
box_h = anchor_h * np.exp(offset_h)
/home/rlc/H_R-Siamese-RPN/net/tracker.py:106: RuntimeWarning: overflow encountered in multiply
sz2 = (w + pad) * (h + pad)
/home/rlc/H_R-Siamese-RPN/net/tracker.py:102: RuntimeWarning: divide by zero encountered in true_divide
return np.maximum(r, 1. / r)
/home/rlc/H_R-Siamese-RPN/net/tracker.py:115: RuntimeWarning: divide by zero encountered in true_divide
r_c = change((self.target_sz[0] / self.target_sz[1]) / (box_pred[:, 2] / box_pred[:, 3])) # ratio penalty
/home/rlc/H_R-Siamese-RPN/net/tracker.py:115: RuntimeWarning: invalid value encountered in true_divide
r_c = change((self.target_sz[0] / self.target_sz[1]) / (box_pred[:, 2] / box_pred[:, 3])) # ratio penalty
0%| | 1/725 [00:00<02:09, 5.58it/s]
0%| | 0/98 [00:02<?, ?it/s]
0%| | 0/3 [00:02<?, ?it/s]
Traceback (most recent call last):
File "/home/rlc/H_R-Siamese-RPN/bin/test_OTB.py", line 149, in
result = run_SiamRPN(video_path, model_path, boxes[0])
File "/home/rlc/H_R-Siamese-RPN/net/run_SiamRPN.py", line 44, in run_SiamRPN
bbox, score = tracker.update(frame) # x,y,w,h
File "/home/rlc/H_R-Siamese-RPN/net/tracker.py", line 86, in update
config.context_amount, self.img_mean)
File "/home/rlc/H_R-Siamese-RPN/lib/utils.py", line 131, in get_instance_image
instance_img, scale_x = crop_and_pad(img, cx, cy, size_x, s_x, img_mean)
File "/home/rlc/H_R-Siamese-RPN/lib/utils.py", line 86, in crop_and_pad
xmin = int(round_up(xmin + left))
ValueError: cannot convert float NaN to integer

@chengxianda54321
Copy link

my model get 0.21 auc, f**k

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

5 participants