I3InferenceModule doesn't recognize a list of length 1
@pweigel đang làm issue này rồi.
Từ ngày 7/11/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Describe the bug
Using I3InferenceModule with a single task in a list results in a lot of spam. It checks if it's a list but doesn't check the length. I can fix this with some other improvements I'm making to inference-related activities. I think it should also be a warning_once, otherwise, it would still spam when len(tasks)>1.
To Reproduce
Steps to reproduce the behavior:
- Run
I3InferenceModulewhen the model config has a tasks list containing only one task.
Expected behavior
It should recognize that there is actually only one task.
Full traceback
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
graphnet [MainProcess] WARNING 2024-11-07 12:24:59 - I3InferenceModule.Execute - I3InferenceModule assumes one Task but got 1. Only the first will be used.
- Ngôn ngữ chính
- Python
- Star
- 117
- Fork
- 115
- Merge trung bình
- 2 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của graphnet-team/graphnet
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
graphnet-team/graphnet#933 ·
-
Spring cleanĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
graphnet-team/graphnet#927 · 1 bình luận ·
-
Time for a new version release v1.8.1Có thể làm lại được @Aske-Rosted đã nhận 75 ngày trước và không có pull request nào đang mở. Đang mởdecision
graphnet-team/graphnet#924 · 1 người được giao ·
-
Make kaggle checkpoints part of the CICó thể làm lại được @sevmag đã nhận 75 ngày trước và không có pull request nào đang mở. Đang mởbug
graphnet-team/graphnet#921 · 2 bình luận · 1 người được giao ·
-
decision deferred
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
graphnet-team/graphnet#919 ·
Tất cả issue của graphnet-team/graphnet
Issue tương tự
-
separate_packages splits imports from the same explicitly configured packageCó thể đã có người làm @rahul05ranjan đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
TigreGotico/text2spoken#626 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
oncoref MappingProxyType in proteome.layers breaks deepcopy in reference_coverage._inventoryCó thể đã có người làm @iskandr đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
pipecat-ai/pipecat#7014 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
NL-BioImaging/biomero#136 ·
Maintainer thường phản hồi trong vòng 1 ngày