tensorflow / tensorflow/models
interactive_eager_few_shot_od_training_colab.ipynb error: Failed to get convolution algorithm.
Open
Nobody has claimed this yet.
models:research:odapi
type:bug
- Dominant language
- Python
- Stars
- 77.7k
- Forks
- 44.8k
- PR merge metrics
- No merged PRs in 30d
Description
Prerequisites
- I am using the latest TensorFlow Model Garden release and TensorFlow 2.
- I am reporting the issue to the correct repository. (Model Garden official or research directory)
- I checked to make sure that this issue has not been filed already.
1. The entire URL of the file you are using
2. Describe the bug
Running this notebook on Colab with GPU enabled, on calling detection_model.predict the following error is raised:
UnknownError Traceback (most recent call last)
<ipython-input-23-5597398cc2f6> in <module>()
39 # Run model through a dummy image so that variables are created
40 image, shapes = detection_model.preprocess(tf.zeros([1, 640, 640, 3]))
---> 41 prediction_dict = detection_model.predict(image, shapes)
42 _ = detection_model.postprocess(prediction_dict, shapes)
43 print('Weights restored!')
15 frames
/usr/local/lib/python3.7/dist-packages/six.py in raise_from(value, from_value)
UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [Op:Conv2D]
3. Steps to reproduce
Run the notebook
4. Expected behavior
No error
5. Additional context
None
6. System information
- Colab
- The notebook uses a pinned version of tf
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.