DeepProfiler produces incorrect crops if provided with images of different sizes
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- computer-vision
Hướng nghiên cứu
Bắt đầu với deepprofiler/imaging/boxes.py tại get_cropping_regions(), sau đó xem lại pull request được liên kết #354 và tài liệu về hình ảnh có kích thước thay đổi. Tái hiện profiling với các hình ảnh có kích thước khác config["dataset"]["images"] và so sánh các phần crop. Hoàn thành khi profiling xử lý đúng hình ảnh có kích thước thay đổi và tài liệu làm rõ hành vi giữa chế độ training và profile-mode.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
In profiling mode, if provided with images of different sizes than the specified in the config (in config["dataset"]["images"][{"width", "height"}]), DP will silently generate incorrect crops.
I think the issue comes from get_cropping_regions(), where the config-specified image size is used to normalise the bounding indices. Note that there's no exception raised when the input image mismatches the specified shape.
I also think the docs are slightly confusing, as it's mentioned:
The size of images is, in principle, flexible and DeepProfiler can work with different resolutions and image dimensions.
Please correct me if I'm wrong, but I think this is the only reason making DeepProfiler incompatible with images of variable size (for profiling) and could easily be solved by reading the image dimensions dynamically. I opened a PR to implement just that - https://github.com/cytomining/DeepProfiler/pull/354.
It'd be great if you could also update the docs to clarify how DeepProfiler handles images of variable size in training vs. profile mode.
- Ngôn ngữ chính
- Python
- Star
- 129
- Fork
- 52
- Merge trung bình
- 5 giờ 20 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọ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 cytomining/DeepProfiler
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
cytomining/DeepProfiler#360 · 5 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
cytomining/DeepProfiler#359 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
cytomining/DeepProfiler#352 · 3 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
cytomining/DeepProfiler#347 · 3 bình luận ·
-
Speed up profilingĐang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
cytomining/DeepProfiler#325 ·
Tất cả issue của cytomining/DeepProfiler
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/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 85/100
kornia/kornia#5263 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Metadata correction for W16-5400Đang mởapproved correction metadata
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
acl-org/acl-anthology#10133 · 1 bình luận ·
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 78/100
BasedHardware/omi#20084 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-acceptance wg/evaluation-quality
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
vllm-project/semantic-router#4424 ·
Maintainer thường phản hồi trong vòng 1 ngày