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

details about the base model and the fine-tuned #18

Open
futureisatyourhand opened this issue Nov 26, 2019 · 11 comments
Open

details about the base model and the fine-tuned #18

futureisatyourhand opened this issue Nov 26, 2019 · 11 comments

Comments

@futureisatyourhand
Copy link

futureisatyourhand commented Nov 26, 2019

I use two gpus, the other configurations is the same as the author, why is my performance poor?

  • The following figure is the eval of 500 epochs for base model.
    500

  • The following figure is the eval of 5 epochs for the fine-tune.
    5

  • The following figure is the eval of 10 epochs for the fine-tune.
    10
    @bingykang

@cgg99
Copy link

cgg99 commented Jan 27, 2021

@futureisatyourhand Hi~How did you evaluate the base model?Did you execute python valid_ensemble.py cfg/metayolo_novel0.data cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg path/toweightfile

@futureisatyourhand
Copy link
Author

@futureisatyourhand Hi~How did you evaluate the base model?Did you execute python valid_ensemble.py cfg/metayolo_novel0.data cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg path/toweightfile

Hello, I have solved the problem, but the AP is much higher than the author's, the randomness is very strong.

@MonsterLWR
Copy link

MonsterLWR commented Feb 8, 2021

i've met similar problem, could you please tell us how you solve it? @futureisatyourhand
thanks!

@futureisatyourhand
Copy link
Author

i've met similar problem, could you please tell us how you solve it? @futureisatyourhand
thanks!
First of all, the author's code is very random, the AP after each training is different, you'd better set up a random seed.
Second, the rest of the git code cannot be changed, you can try to retrain the git author's code, you may find that the results are better than the author's code, the author's code is very metaphysical, I just re-git the author's code and training results are better than the author.
For details, you can look at the results that I reproduced and optimized the algorithm, the linke is https://arxiv.org/pdf/2007.06837.pdf.

@MonsterLWR
Copy link

Thanks for your reply! I still have some questions:
how many gpus did you use? when using two gpus, should i change the learning rate or max batches? @futureisatyourhand

@GDDKRJ
Copy link

GDDKRJ commented Sep 22, 2021

Hi~How did you perform the code when evaluating the model?
“python valid_ensemble.py cfg/metayolo.data cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg path/toweightfile
python scripts/voc_eval.py results/path/to/comp4_det_test_”
I don’t know the “path/toweightfile” and “results/path/to/comp4_det_test_”

@futureisatyourhand
Copy link
Author

Hi~How did you perform the code when evaluating the model?
“python valid_ensemble.py cfg/metayolo.data cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg path/toweightfile
python scripts/voc_eval.py results/path/to/comp4_det_test_”
I don’t know the “path/toweightfile” and “results/path/to/comp4_det_test_”

The weight file is your best weights saved, and the "results/path/to/comp4_det_test_" is your results containing boxes and label. when the first instruction executed successfully, and the the "results/path/to/comp4_det_test_" is generated. You should scan source code.

@GDDKRJ
Copy link

GDDKRJ commented Sep 23, 2021 via email

@futureisatyourhand
Copy link
Author

Is the first instruction written like this? python valid_ensemble.py cfg/metayolo.data cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg backup/metayolo/000010.weights I want to know the best weights is darknet19_448.cfg or backup/metayolo/.weights? Because when I use darknet19_448.cfg the code can't run

------------------ 原始邮件 ------------------ 发件人: "bingykang/Fewshot_Detection" @.
>; 发送时间: 2021年9月23日(星期四) 上午9:19 @.
>; @.@.**>; 主题: Re: [bingykang/Fewshot_Detection] details about the base model and the fine-tuned (#18) Hi~How did you perform the code when evaluating the model? “python valid_ensemble.py cfg/metayolo.data cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg path/toweightfile python scripts/voc_eval.py results/path/to/comp4_det_test_” I don’t know the “path/toweightfile” and “results/path/to/comp4_det_test_” The weight file is your best weights saved, and the "results/path/to/comp4_det_test_" is your results containing boxes and label. when the first instruction executed successfully, and the the "results/path/to/comp4_det_test_" is generated. You should scan source code. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

the

Is the first instruction written like this? python valid_ensemble.py cfg/metayolo.data cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg backup/metayolo/000010.weights I want to know the best weights is darknet19_448.cfg or backup/metayolo/.weights? Because when I use darknet19_448.cfg the code can't run

------------------ 原始邮件 ------------------ 发件人: "bingykang/Fewshot_Detection" @.
>; 发送时间: 2021年9月23日(星期四) 上午9:19 @.
>; @.@.**>; 主题: Re: [bingykang/Fewshot_Detection] details about the base model and the fine-tuned (#18) Hi~How did you perform the code when evaluating the model? “python valid_ensemble.py cfg/metayolo.data cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg path/toweightfile python scripts/voc_eval.py results/path/to/comp4_det_test_” I don’t know the “path/toweightfile” and “results/path/to/comp4_det_test_” The weight file is your best weights saved, and the "results/path/to/comp4_det_test_" is your results containing boxes and label. when the first instruction executed successfully, and the the "results/path/to/comp4_det_test_" is generated. You should scan source code. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

the instruction is to test, so it is no relation to darknet19_448.cfg, the darknet19_448.weights is pretrained weights to get backup/metayolo/000010.weights!!!

@GDDKRJ
Copy link

GDDKRJ commented Sep 24, 2021 via email

@futureisatyourhand
Copy link
Author

I want to know why the .txt is empty?It has no information.

------------------ 原始邮件 ------------------ 发件人: "bingykang/Fewshot_Detection" @.
>; 发送时间: 2021年9月23日(星期四) 中午11:40 @.>; @.@.>; 主题: Re: [bingykang/Fewshot_Detection] details about the base model and the fine-tuned (#18) Is the first instruction written like this? python valid_ensemble.py cfg/metayolo.data cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg backup/metayolo/000010.weights I want to know the best weights is darknet19_448.cfg or backup/metayolo/.weights? Because when I use darknet19_448.cfg the code can't run … ------------------ 原始邮件 ------------------ 发件人: "bingykang/Fewshot_Detection" @.>; 发送时间: 2021年9月23日(星期四) 上午9:19 @.>; @.@.>; 主题: Re: [bingykang/Fewshot_Detection] details about the base model and the fine-tuned (#18) Hi~How did you perform the code when evaluating the model? “python valid_ensemble.py cfg/metayolo.data cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg path/toweightfile python scripts/voc_eval.py results/path/to/comp4_det_test_” I don’t know the “path/toweightfile” and “results/path/to/comp4_det_test_” The weight file is your best weights saved, and the "results/path/to/comp4_det_test_" is your results containing boxes and label. when the first instruction executed successfully, and the the "results/path/to/comp4_det_test_" is generated. You should scan source code. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. the Is the first instruction written like this? python valid_ensemble.py cfg/metayolo.data cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg backup/metayolo/000010.weights I want to know the best weights is darknet19_448.cfg or backup/metayolo/.weights? Because when I use darknet19_448.cfg the code can't run … ------------------ 原始邮件 ------------------ 发件人: "bingykang/Fewshot_Detection" @.>; 发送时间: 2021年9月23日(星期四) 上午9:19 @.>; @.@.*>; 主题: Re: [bingykang/Fewshot_Detection] details about the base model and the fine-tuned (#18) Hi~How did you perform the code when evaluating the model? “python valid_ensemble.py cfg/metayolo.data cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg path/toweightfile python scripts/voc_eval.py results/path/to/comp4_det_test_” I don’t know the “path/toweightfile” and “results/path/to/comp4_det_test_” The weight file is your best weights saved, and the "results/path/to/comp4_det_test_" is your results containing boxes and label. when the first instruction executed successfully, and the the "results/path/to/comp4_det_test_" is generated. You should scan source code. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. the instruction is to test, so it is no relation to darknet19_448.cfg, the darknet19_448.weights is pretrained weights to get backup/metayolo/000010.weights!!! — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

your result is none! You must look code.

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

4 participants