Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Load existing project from source (DLC) fails to create "CollectedData.csv" #132

Description

@Thomasbush9

Hi! we (me and @vigji) were trying to start a new project from an existing DLC project.

We have merged our 5 views into a single frame with the corresponding predictions that we would like to use as labels to refine through the training. When we have tried to create the project from source we have uploaded the zip file containing:

  • Folder with labels (.csv) and corresponding frames (idx.png)
  • Folder with videos (.mp4)

We managed to correctly create the project with the bodyparts that we have used, but then we are prompted with this error and we cannot access the already labeled frames, nor the videos.

FileNotFoundError: [Errno 2] No such file or directory: '/home/sneurobiology/Pose-app/data/dlc_check_error/CollectedData.csv'

Which comes from these lines:
File "/home/sneurobiology/Pose-app/lightning_pose_app/ui/project.py", line 529, in run
self._upload_existing_project(**kwargs)
File "/home/sneurobiology/Pose-app/lightning_pose_app/ui/project.py", line 413, in _upload_existing_project
df = pd.read_csv(csv_file, header=[0, 1, 2], index_col=0)

We have also noticed a tiny bug : when you select to create a project from dlc then there is a mismatch between "DLC" and "DeepLabCut" as project.name that causes "Not Implemented Error"

Example in line 366 of backend/project.py:
if project_type not in ["DLC", "Lightning Pose"]:
raise NotImplementedError
I have made it work just bit changing the "DLC" occurrences with "DeepLabCut"

More info:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions