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
Problem: Currently the MicrosaccadeHelper does not re-initialize self.number_of_trials after a model candidate calls start_task(require_variance=True, number_of_trials=>2). This is a problem when in fitting microsaccades are wanted, but during candidate.look_at() microsaccades are not wanted (i.e., candidate.look_at(require_variance=False, number_of_trials=1)). This results in an error in core.py_package_layer, as the expected dimensions do not match (number_of_trials is read out incorrectly).
Workaround: when calling microsaccades on the fitting stimuli, but not the testing stimuli, call candidate.look_at(require_variance=True, number_of_trials=1) to correctly set the expected number_of_trials.
Solution: always re-initialize MicrosaccadeHelper.number_of_trials regardless of whether require_variance is True or False, or other similar approach.
The text was updated successfully, but these errors were encountered:
Problem: Currently the
MicrosaccadeHelper
does not re-initializeself.number_of_trials
after a modelcandidate
callsstart_task(require_variance=True, number_of_trials=>2)
. This is a problem when in fitting microsaccades are wanted, but duringcandidate.look_at()
microsaccades are not wanted (i.e.,candidate.look_at(require_variance=False, number_of_trials=1)
). This results in an error incore.py
_package_layer
, as the expected dimensions do not match (number_of_trials
is read out incorrectly).Workaround: when calling microsaccades on the fitting stimuli, but not the testing stimuli, call
candidate.look_at(require_variance=True, number_of_trials=1)
to correctly set the expectednumber_of_trials
.Solution: always re-initialize
MicrosaccadeHelper.number_of_trials
regardless of whetherrequire_variance
isTrue
orFalse
, or other similar approach.The text was updated successfully, but these errors were encountered: