Skip to content

COLAB || AttributeError: BatchNormalization is not available with Keras 3. #2839

@Scottydoesntkno

Description

@Scottydoesntkno

Is there an existing issue for this?

  • I have searched the existing issues

Bug description

Hi Everyone,

Ive been using COLAB just fine for a while now, and now there seems to be a new issue.

I really don't know how to address this issue and I've posted the output. Occurs in the cell that imports deeplabcut.

Image

Operating System

Google Colab

DeepLabCut version

dlc version: 2.2.3 ; Assuming this is the typical version imported on COLAB.

DeepLabCut mode

single animal

Device type

Google's L4 GPU

Steps To Reproduce

Ran notebook at normal and was fine up to this step; One thing was different it didnt ask me to restart the notebook as it usually after running:

#(this will take a few minutes to install all the dependences!) !apt update && apt install cuda-11-8 !pip install "deeplabcut[tf]"

Then after running import the issue arised.

Relevant log output

Anything else?

No response

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions