You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to open the stream and pose estimator, but trying to open the behavior estimator gives the following errors:
Experiment started
Traceback (most recent call last):
File "app.py", line 291, in start_experiment
preamble = dsc_config['Streaming']['TIME_STAMP_DIRECTORY']
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\configparser.py", line 959, in getitem
raise KeyError(key)
KeyError: 'Streaming'
2024-07-22 16:46:01.909322: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2024-07-22 16:46:01.911835: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
Process Process-1:
Traceback (most recent call last):
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\multiprocessing\process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\AhmariLab\Desktop\DeepLabStream\experiments\custom\stimulus_process.py", line 98, in example_protocol_run
stim = LEDstim()
File "C:\Users\AhmariLab\Desktop\DeepLabStream\experiments\custom\ledtrigger.py", line 7, in init
self.ser = serial.Serial('COM4', 9600, timeout=1)
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\site-packages\serial\serialwin32.py", line 33, in init
super(Serial, self).init(*args, **kwargs)
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\site-packages\serial\serialutil.py", line 244, in init
self.open()
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\site-packages\serial\serialwin32.py", line 64, in open
raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port 'COM4': FileNotFoundError(2, 'The system cannot find the file specified.', None, 2)
C:\Users\AhmariLab\anaconda3\envs\areal2\lib\site-packages\sklearn\base.py:315: UserWarning: Trying to unpickle estimator DecisionTreeClassifier from version 1.2.2 when using version 0.24.1. This might lead to breaking code or invalid results. Use at your own risk.
UserWarning)
Process Process-3:
Traceback (most recent call last):
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\multiprocessing\process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\AhmariLab\Desktop\DeepLabStream\experiments\custom\classifier.py", line 201, in bsoid_feat_classifier_pool_run
classifier = BsoidClassifier() # initialize classifier
File "C:\Users\AhmariLab\Desktop\DeepLabStream\experiments\custom\classifier.py", line 101, in init
self._classifier = self.load_classifier(PATH_TO_CLASSIFIER)
File "C:\Users\AhmariLab\Desktop\DeepLabStream\experiments\custom\classifier.py", line 112, in load_classifier
[clf, _, _] = joblib.load(path_to_sav)
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\site-packages\joblib\numpy_pickle.py", line 587, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\site-packages\joblib\numpy_pickle.py", line 506, in _unpickle
obj = unpickler.load()
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\pickle.py", line 1050, in load
dispatchkey[0]
KeyError: 20
This occurs no matter if the behavior estimator used is generated in A-SOiD or B-SOiD.
The text was updated successfully, but these errors were encountered:
I am able to open the stream and pose estimator, but trying to open the behavior estimator gives the following errors:
Experiment started
Traceback (most recent call last):
File "app.py", line 291, in start_experiment
preamble = dsc_config['Streaming']['TIME_STAMP_DIRECTORY']
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\configparser.py", line 959, in getitem
raise KeyError(key)
KeyError: 'Streaming'
2024-07-22 16:46:01.909322: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2024-07-22 16:46:01.911835: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
Process Process-1:
Traceback (most recent call last):
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\multiprocessing\process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\AhmariLab\Desktop\DeepLabStream\experiments\custom\stimulus_process.py", line 98, in example_protocol_run
stim = LEDstim()
File "C:\Users\AhmariLab\Desktop\DeepLabStream\experiments\custom\ledtrigger.py", line 7, in init
self.ser = serial.Serial('COM4', 9600, timeout=1)
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\site-packages\serial\serialwin32.py", line 33, in init
super(Serial, self).init(*args, **kwargs)
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\site-packages\serial\serialutil.py", line 244, in init
self.open()
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\site-packages\serial\serialwin32.py", line 64, in open
raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port 'COM4': FileNotFoundError(2, 'The system cannot find the file specified.', None, 2)
C:\Users\AhmariLab\anaconda3\envs\areal2\lib\site-packages\sklearn\base.py:315: UserWarning: Trying to unpickle estimator DecisionTreeClassifier from version 1.2.2 when using version 0.24.1. This might lead to breaking code or invalid results. Use at your own risk.
UserWarning)
Process Process-3:
Traceback (most recent call last):
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\multiprocessing\process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\AhmariLab\Desktop\DeepLabStream\experiments\custom\classifier.py", line 201, in bsoid_feat_classifier_pool_run
classifier = BsoidClassifier() # initialize classifier
File "C:\Users\AhmariLab\Desktop\DeepLabStream\experiments\custom\classifier.py", line 101, in init
self._classifier = self.load_classifier(PATH_TO_CLASSIFIER)
File "C:\Users\AhmariLab\Desktop\DeepLabStream\experiments\custom\classifier.py", line 112, in load_classifier
[clf, _, _] = joblib.load(path_to_sav)
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\site-packages\joblib\numpy_pickle.py", line 587, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\site-packages\joblib\numpy_pickle.py", line 506, in _unpickle
obj = unpickler.load()
File "C:\Users\AhmariLab\anaconda3\envs\areal2\lib\pickle.py", line 1050, in load
dispatchkey[0]
KeyError: 20
This occurs no matter if the behavior estimator used is generated in A-SOiD or B-SOiD.
The text was updated successfully, but these errors were encountered: