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

Where to get weights? #5

Open
dexter2406 opened this issue Jun 5, 2021 · 9 comments
Open

Where to get weights? #5

dexter2406 opened this issue Jun 5, 2021 · 9 comments

Comments

@dexter2406
Copy link

Hi, thanks for your work. But where could I got the weights file, e.g. saved_model_0.19968511 ? I don't find link in your description.

Thanks for your time!

@anshkumar
Copy link
Owner

Currently, I'm not providing pre-trained checkpoints. Will add coco pre-trained checkpoints in future.

@Ankur-singh
Copy link

any updates on it? At least can you tell how to train the model & generate the weights.

@anshkumar
Copy link
Owner

@Ankur-singh For training you have to just change the path in train.sh file. And for creating tfrecord you have to use create_coco_tfrecord.sh file.

@Ankur-singh
Copy link

I think, one will have to download the coco dataset and unzip it before creating tfrecords. Because, I cannot find the code to download the dataset. Please correct me if am wrong or if I am missing something.

@anshkumar
Copy link
Owner

Yes, you have to download the dataset.

@shashank-sharma333
Copy link

@Ankur-singh Were you able to train the model?
I am getting the below error while running train.sh with the required parameters

tensorflow.python.framework.errors_impl.InvalidArgumentError: buffer_size must be greater than zero.

@Ankur-singh
Copy link

@shashank-sharma333 yes I was able to train the model. I had to make quite a few changes to make it work. But in the process, I never came across this error. 😅

@shashank-sharma333
Copy link

Thank you @Ankur-singh for your comment. Which environment you are using for the training model? Also, Can you list down the changes you made? It would be helpful.

@Ankur-singh
Copy link

I have a 3060Ti, so I followed GPU installation instruction from the readme file. Its pretty straight forward. Just make sure your compile the protobufs. Just run this from the root directory of the project

protoc protos/*.proto --python_out=.

Regarding the changes, TBH, I don't remember all of them. It was a couple of weeks ago. One was regarding SGD optimizer, the API has changed, so you should use legacy version. And there were quite a few data type issue, you should be able to fix them with basic type casting. Hope this helps.

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