segmenteverygrain icon indicating copy to clipboard operation
segmenteverygrain copied to clipboard

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

Open h-m-088 opened this issue 1 year ago • 0 comments

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

h-m-088 avatar Apr 17 '24 07:04 h-m-088