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:
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:
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:
System: Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
We have installed the lighting app using the tutorial at: https://pose-app.readthedocs.io/en/latest/source/getting_started.html