Issue/Feature request: Change pathing in project files
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện việc trích xuất khung hình khi video không có trong dự án hoặc thư mục videos, sử dụng những khác biệt về đường dẫn giữa Windows và macOS được mô tả trong issue. Theo dõi việc xử lý đường dẫn dự án và lỗi tệp bị hỏng; công việc được xem là hoàn tất khi người dùng nhận được thông báo rõ ràng về tệp bị thiếu và hành vi đường dẫn đã thống nhất hoạt động trên các máy khác nhau.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your feature request related to a problem? Please describe.
The issue arises when you try to extract frames from a video that isn't added to your project but may or may not be in your project videos folder. The program doesn't provide a clear message for this instead claiming the video files are corrupted, which doesn't help the end user and just causes confusion.
Describe the solution you'd like
It's up to the DLC team which is why I did not open a PR, but:
- Simply prompt the user to add the file to the project (or offer to do it for them), OR
- Change the pathing method so that the file pathing is relative instead of absolute, OR
- Both relative and absolute pathing are allowed
The last two aren't entirely related, but would fix problems that arise from uploading a project and attempting to work on the same project on multiple machines, for example. The latter is probably the only one that would be accepted over 2 so it's not a breaking change. Regardless, the issue of the incorrect error message must be addressed.
Describe alternatives you've considered
See above.
Additional context
These are all from my observations on my machines (main dev. Windows 11 PC, separate MacBook Pro M3 Pro) using DLC 3.0.0rc10. Specifically how pathing differs on Windows machines versus Mac, but I would assume the same issue results from having different users or roots as well.
Related comments from users: #3156 (here)
- Ngôn ngữ chính
- Python
- Star
- 5.8k
- Fork
- 1.8k
- Merge trung bình
- 3 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 29
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 DeepLabCut/DeepLabCut
-
napari-dlc
DeepLabCut/DeepLabCut#3524 · 1 bình luận · 1 người được giao ·
-
Metric path consistency for top-down, and safer snapshot selection when a metric is undefined Đang mởconfig enhancement metrics pytorch
DeepLabCut/DeepLabCut#3521 · 2 người được giao ·
-
bug metrics pytorch
DeepLabCut/DeepLabCut#3518 · 1 bình luận · 1 người được giao ·
-
[Task] Improve CI workflows Đang mởCI enhancement
DeepLabCut/DeepLabCut#3517 · 1 bình luận · 2 người được giao ·
-
DeepLabCut/DeepLabCut#3493 · 1 người được giao ·
Tất cả issue của DeepLabCut/DeepLabCut
Issue tương tự
-
essnmx good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
-
[Feature] 奇物选择添加优先级 Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
syfoud/Simulated_Scepter#174 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Giskard-AI/giskard-oss#2840 · 1 bình luận ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Đang mởarea: repo bug perceived difficulty: 2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
yeti-platform/yeti#1380 ·