Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anipose analyze -- rename_dlc_files: FileExistsError #85

Open
fmarbach opened this issue Apr 4, 2022 · 1 comment
Open

anipose analyze -- rename_dlc_files: FileExistsError #85

fmarbach opened this issue Apr 4, 2022 · 1 comment

Comments

@fmarbach
Copy link

fmarbach commented Apr 4, 2022

Problem:
at the end of anipose analyze, FileExistsError occurs (see image, highlighted); it seems like for a given camera/video file, it generates multiple .pickle output files (see screenshot, at time of error) that are sequentially renamed to '...camera_name.pickle'. This is not the case in the tutorial, where there is only one .pickle file generated and the renaming does not throw this error (and one .h5 file)
Details:

  • recently installed anipose with tutorial working
  • the deeplabcut network was trained in the separate dlc environment (dlc version 2.2.0.6). i used the GUI and checked "is this a multi-animal project?" based on instructions from "how to use maDLC with a single animal"

image
PastedGraphic-1

@fmarbach
Copy link
Author

fmarbach commented Apr 5, 2022

solution:

  • do not use the (multi animal) deeplabcut gui (the option for beginners, 'python -m deeplabcut') as it forces you to tick the box for multi animal project (otherwise the GUI doesn't create the project/config file, looks like a bug).
  • instead run everything in a script / on command line (choosing 'multianimal=False'), the extra .pickle files are not created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant