Skip to content

np.random.choice doesn't support tuple (or something like that) anymore  #587

@Hope1337

Description

@Hope1337

In augmetation file, at function RandomSampleCrop, we use np.random.choice, but I guess that there was some change in numpy lib or python so we can't use it for tupe like : a = (None, (1, 2), 3)

Solution : replace np.random.choice by random.choice in random lib.

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