We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Documentation Bug
source
keras 2
Yes
No response
A bug happened!
examples/vision/consistency_training.py in google colab
ModuleNotFoundError Traceback (most recent call last) in <cell line: 1>() ----> 1 from official.vision.image_classification.augment import RandAugment 2 from tensorflow.keras import layers 3 4 import tensorflow as tf 5 import tensorflow_addons as tfa
ModuleNotFoundError: No module named 'official.vision.image_classification'
https://colab.research.google.com/github/keras-team/keras-io/blob/master/examples/vision/ipynb/consistency_training.ipynb#scrollTo=vis6pLvU4jAc
The text was updated successfully, but these errors were encountered:
@0x1orz,
I would like to suggest using the following import statement:
from official.vision.ops.augment import RandAugment
instead of this one:
from official.vision.image_classification.augment import RandAugment
This change will make your code more consistent with the models.official.vision
Sorry, something went wrong.
This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.
This issue was closed because it has been inactive for 28 days. Please reopen if you'd like to work on this further.
Are you satisfied with the resolution of your issue? Yes No
sachinprasadhs
chunduriv
No branches or pull requests
Issue Type
Documentation Bug
Source
source
Keras Version
keras 2
Custom Code
Yes
OS Platform and Distribution
No response
Python version
No response
GPU model and memory
No response
Current Behavior?
A bug happened!
examples/vision/consistency_training.py in google colab
ModuleNotFoundError Traceback (most recent call last)
in <cell line: 1>()
----> 1 from official.vision.image_classification.augment import RandAugment
2 from tensorflow.keras import layers
3
4 import tensorflow as tf
5 import tensorflow_addons as tfa
ModuleNotFoundError: No module named 'official.vision.image_classification'
Standalone code to reproduce the issue or tutorial link
Relevant log output
No response
The text was updated successfully, but these errors were encountered: