squeezeDet
squeezeDet copied to clipboard
Error using image dataset of 640x360 for training using SqueezeDet.
Hello,
I changed the image size in src/config/kitty_squeezeDet_config.py file from to 640x360 for 96 classes and also added class names in the config.py file, keeping all other parameters same. I get error as:
Cannot find fire10/squeeze1x1 in the pretrained model. Use randomly initialized parameters
Cannot find fire10/expand1x1 in the pretrained model. Use randomly initialized parameters
Cannot find fire10/expand3x3 in the pretrained model. Use randomly initialized parameters
Cannot find fire11/squeeze1x1 in the pretrained model. Use randomly initialized parameters
Cannot find fire11/expand1x1 in the pretrained model. Use randomly initialized parameters
Cannot find fire11/expand3x3 in the pretrained model. Use randomly initialized parameters
Cannot find conv12 in the pretrained model. Use randomly initialized parameters
Traceback (most recent call last):
File "./src/train.py", line 359, in
Do I need to change any more parameters?
Thanks.
you need to ensure that the dimensions / grid_indices = 16 .. if this ratio is violated, this error above occurs.. check the authors original code and you would find that the ImgHeight/Anchor_grid_height = 16
Hello @amanmeetgarg,
In which file will I get this information? Thanks.
squeezeDet/src/config/kitti_squeezeDet_config.py
@amanmeetgarg Thanks. I was able to train it.
Glad was of help. All the best.
Hello @amanmeetgarg,
I am trying to run the model for 100000 steps.
The model checkpoint saved has 3 files.
- model.ckpt-99999.data-00000-of-00001
- model.ckpt-99999.index
- model.ckpt-99999.meta But the final checkpoint value is not being stored like original checkpoint "model.ckpt-87000".
Can you please let me know how can I get this final weights?
Thanks.
Read the documentation from tensorflow
another reasonable source https://blog.metaflow.fr/tensorflow-how-to-freeze-a-model-and-serve-it-with-a-python-api-d4f3596b3adc