Closed gbeane closed 2 years ago
Now it wants the food hopper
Traceback (most recent call last): File "/Users/hessil/Downloads/JABS-behavior-classifier-main/src/ui/training_thread.py", line 58, in run id_processed File "/Users/hessil/Downloads/JABS-behavior-classifier-main/src/project/project.py", line 660, in get_labeled_features extended_features=self._enabled_extended_features File "/Users/hessil/Downloads/JABS-behavior-classifier-main/src/feature_extraction/features.py", line 113, in __init__ self.__load_from_file() File "/Users/hessil/Downloads/JABS-behavior-classifier-main/src/feature_extraction/features.py", line 177, in __load_from_file self._per_frame[feature] = feature_grp[feature][:] File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "/Users/hessil/Downloads/JABS-behavior-classifier-main/jabs.venv/lib/python3.7/site-packages/h5py/_hl/group.py", line 288, in __getitem__ oid = h5o.open(self.id, self._e(name), lapl=self._lapl) File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "h5py/h5o.pyx", line 190, in h5py.h5o.open KeyError: "Unable to open object (object 'food_hopper' doesn't exist)"
This error looks like you're using the "main" branch, not the branch with the proposed bug fix. To test, you'll need to try out the new code branch (and probably delete everything from the rotta/features/ directory in the project)
Everything works now
Now it wants the food hopper
Traceback (most recent call last): File "/Users/hessil/Downloads/JABS-behavior-classifier-main/src/ui/training_thread.py", line 58, in run id_processed File "/Users/hessil/Downloads/JABS-behavior-classifier-main/src/project/project.py", line 660, in get_labeled_features extended_features=self._enabled_extended_features File "/Users/hessil/Downloads/JABS-behavior-classifier-main/src/feature_extraction/features.py", line 113, in __init__ self.__load_from_file() File "/Users/hessil/Downloads/JABS-behavior-classifier-main/src/feature_extraction/features.py", line 177, in __load_from_file self._per_frame[feature] = feature_grp[feature][:] File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "/Users/hessil/Downloads/JABS-behavior-classifier-main/jabs.venv/lib/python3.7/site-packages/h5py/_hl/group.py", line 288, in __getitem__ oid = h5o.open(self.id, self._e(name), lapl=self._lapl) File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "h5py/h5o.pyx", line 190, in h5py.h5o.open KeyError: "Unable to open object (object 'food_hopper' doesn't exist)"