Skip to content

Seems broken in tf 2.13? #17

@Vandertic

Description

@Vandertic

On a clean install of tf 2.13 with python 3.9 on Ubuntu (following pip guide that uses conda),

from keras_flops import get_flops

fails with

KeyError: "Registering two statistical functions with name 'AddV2,flops'! (Previous registration was in register /home/name/miniconda3/envs/tf-2.13/lib/python3.9/site-packages/tensorflow/python/framework/registry.py:65)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions