Skip to content

Any chance to update this for Tensorflow 2.x ?  #28

@nonlin

Description

@nonlin

Tensorflow 2 and higher have removed stuff from contrib and I believe this causes data building issues when running the python script yad2k.py.

My issue is when running

python yad2k.py yolo.cfg yolo.weights model_data/yolo.h5

I get

AttributeError: Module 'tensorflow' has no attribute 'space_to_depth"

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