We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f147e8 commit 5bfca55Copy full SHA for 5bfca55
keras_cv/callbacks/__init__.py
@@ -11,7 +11,12 @@
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
-from keras_cv.callbacks.pycoco_callback import PyCOCOCallback
+try:
15
+ from keras_cv.callbacks.pycoco_callback import PyCOCOCallback
16
+except ImportError:
17
+ print(
18
+ "You do not have pyococotools installed, so the `PyCOCOCallback` API is not available."
19
+ )
20
21
try:
22
from keras_cv.callbacks.waymo_evaluation_callback import WaymoEvaluationCallback
0 commit comments