Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Issue/Feature request: Change pathing in project files

Đang mở
#3,236 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
backend

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:

  1. Simply prompt the user to add the file to the project (or offer to do it for them), OR
  2. Change the pathing method so that the file pathing is relative instead of absolute, OR
  3. 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

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DeepLabCut/DeepLabCut

Tất cả issue của DeepLabCut/DeepLabCut

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.