Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Zero Division error when Analyzing video #557
Using Google Colab.
Describe the problem
Sorry. I was away travelling. It was the full path.....
In: path_config_file = 'C:/Users/byron/OneDrive/Documents/Biomechanics/HorseBio-BR-2020-01-15/config.yaml'
In: videofile_path = 'C:/Users/byron/OneDrive/Documents/Biomechanics/'
In: import os
I had it in Colab and took it out of Colab and ran it on an Anaconda env, and the same error generates now....
Using snapshot-100000 for model C:\Users\byron\OneDrive\Documents\Biomechanics\HorseBio-BR-2020-01-15\dlc-models\iteration-0\HorseBioJan15-trainset95shuffle1
The strange thing is that if I replace videofile_path with a direct video name like say ['C:/Users/byron/OneDrive/Documents/Biomechanics/2017AlJamal.mp4'] and leave the rest as is above, it will analyze that individual video without a problem. But if I replace videofile_path with ['C:/Users/byron/OneDrive/Documents/Biomechanics'] as per the documentation to anaylze all files in that folder, I get the float division by zero error (not the No video/s found. Please check your path! error)