Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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