From 2a15eb00bd1275880cf53159b97b8c70548c7a12 Mon Sep 17 00:00:00 2001 From: Tom Wildenhain Date: Tue, 9 Mar 2021 14:23:48 -0500 Subject: [PATCH] Added debugging advice to GitHub issues template Signed-off-by: Tom Wildenhain --- .github/ISSUE_TEMPLATE/bug-performance-issue.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-performance-issue.md b/.github/ISSUE_TEMPLATE/bug-performance-issue.md index 79d454253..d26ed6739 100644 --- a/.github/ISSUE_TEMPLATE/bug-performance-issue.md +++ b/.github/ISSUE_TEMPLATE/bug-performance-issue.md @@ -4,6 +4,13 @@ about: Use this template for reporting a bug or a performance issue. --- +**Dubugging advice** +[delete this section if it doesn't solve your issue] +- Add a `--opset` flag with the highest possible opset you can use. Some ops only convert in higher opsets. +- Try installing the latest tf2onnx from master. Some bug fixes might not have been released to PyPI. Run `pip uninstall tf2onnx` and `pip install git+https://github.com/onnx/tensorflow-onnx` +- If using a saved model, use the Tensorflow `saved_model_cli` to determine the correct `--tag` and `--signature_def` flags to use. If the signature you need is not listed, use the `--concrete_function` flag to index into the model's defined functions. +- If your model was made in tf1.x, try running tf2onnx in a venv with tensorflow 1.x installed. tf2.x should be able to read tf1 models, but sometimes there are bugs. + **Describe the bug** A clear and concise description of what the bug is. @@ -16,10 +23,7 @@ If there are particular important use cases blocked by this or strict project-re - Python version: **To Reproduce** -Describe steps/code to reproduce the behavior: - -**Expected behavior** -A clear and concise description of what you expected to happen. +Describe steps/code to reproduce the behavior. Please upload/link the model you are trying to convert if possible. **Screenshots** If applicable, add screenshots to help explain your problem.