Skip to content

ValueError in Run segmentation (attempt to get argmax of an empty sequence) #10

@h-m-088

Description

@h-m-088

Nice to meet you. Thanks for such a great model.

I am trying to run Segment_every_grain.ipynb on VScode.

I rewrote part of the contents of the distributed Segment_every_grain.ipynb (see attached photo), and when I ran it, I got a "ValueError: attempt to get argmax of an empty sequence sequence" in "Run segmentation".

I would like to know the solution.

*I am using Google Translate.

Environment
・Mac book pro14 (M1pro)
・VScode(anaconda)
・Python(3.12.2)
・library list (see attached photo)

スクリーンショット 2024-04-17 16 12 12 スクリーンショット 2024-04-17 16 12 21 スクリーンショット 2024-04-17 16 12 51 スクリーンショット 2024-04-17 16 13 11 スクリーンショット 2024-04-17 16 42 03 スクリーンショット 2024-04-17 16 42 32

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