Closed sdamani-intel closed 4 years ago
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. CUDA/cuDNN version GPU model and memory Exact command to reproduce
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. CUDA/cuDNN version GPU model and memory Exact command to reproduce
I set GPU model and CUDA version as N/A. I thought that was obvious seeing as I was executing this on the CPU. I have also provided extremely detailed repro instructions including commands.
I believe the issue may be with the dataset. I think that coco2017 may not be compatible with this model (the webpage mentions coco14 minival).
Hi There, We are checking to see if you still need help on this, as this seems to be an old issue. Please update this issue with the latest information, code snippet to reproduce your issue and error you are seeing. If we don't hear from you in the next 7 days, this issue will be closed automatically. If you don't need help on this issue any more, please consider closing this.
System information
What is the top-level directory of the model you are using: object_detection Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04 TensorFlow installed from (source or binary): source TensorFlow version (use command below): 1.13.1 Bazel version (if compiling from source): 0.24.1 CUDA/cuDNN version: N/A GPU model and memory: N/A
Repro instructions
Issue 1: Fine-tuning from checkpoint causes fp32 inference to fail
Issue 2: Pre-trained checkpoint gives incorrect min/max values for FakeQuantization resulting in poor int8 inference
Setup:
This experiment is being run on CPU without tflite.
Using steps described here: https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/running_locally.md
Debugging notes The issue is almost certainly the fact that FakeQuantization min/max values in this checkpoint are incorrect. In particular, after fine-tuning (as in issue 1), we get min/max values of (0,6) as expected because the input comes from Relu6. On the other hand, min/max values without training (i.e. using the downloaded checkpoint) for the same node are (-25,32), which are certainly incorrect.
So, there are two problems here:
Please let me know if there is any additional information that is required.