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

about weights of model_vgg #19

Open
ghost opened this issue Jan 26, 2018 · 4 comments
Open

about weights of model_vgg #19

ghost opened this issue Jan 26, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Jan 26, 2018

Thank you for your code. I have two questions.

  1. Is the vgg16_weights.h5, which downloaded from the link provided by you, pretrained on ImageNet?
  2. It seems that the model_vgg is trained at every epoch, but do not be saved. At test time, the weights of model_vgg is still the Initial weights(i.e. vgg16_weights.h5). Why not save it and use it at test time?
@mani5h
Copy link

mani5h commented Apr 2, 2018

Yes, pretrained CNN is used here,using pretrained cnn (vgg16 here) has 2 benefits:First,
learning the Q function is faster because we need to up-date the parameters of the Q-Network only, while using the deep CNN just as a feed-forward feature extractor. Second, the hierarchy of features is trained with a larger dataset,leveraging generic discriminative features in this method.

@zoupei123456
Copy link

Have you made any changes to the data set voc2012?Why does this error occur when I run the program?
xml.etree.ElementTree.parseError:not well-formed(invalid token):line1,column 0。Could you tell me how to solve this problem?

@XiaoYigwr
Copy link

Hi,there is a problem that makes me very confused, in the DQN model of the paper, Why did you use 10241024 full connection, instead of 40964096,or other dimensions. Does 1024*1024 have any special meaning?

@zhongkedazhouman
Copy link

thank you! i have a question. It seems that the model_vgg is trained at every epoch, but do not be saved. At test time, the weights of model_vgg is still the Initial weights(i.e. vgg16_weights.h5). Why not save it and use it at test time?

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