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
{{ message }}
Repository navigation
Error when check model to be submitted: AttributeError: type object 'Defaults' has no attribute 'stratification_coord' #566
However, when I check when running the model.py. I got the following error:
I checked that my model could load correctly; I am unsure if this is due to some internal error in the brain score repo.
(brainscore) (base) [yu_xie@node092 yudixie_resnet50_imagenet1kpret_0_240222]$ python model.py
/om/user/yu_xie/miniconda3/envs/brainscore/lib/python3.7/site-packages/brainscore_core/metrics/__init__.py:16: FutureWarning: xarray subclass Score should explicitly define __slots__
class Score(DataAssembly):
Loaded model from model.pth
Loaded model from model.pth
Traceback (most recent call last):
File "model.py", line 61, in <module>
check_models.check_base_models(__name__)
File "/weka/scratch/weka/dicarlo/yu_xie/projects/brain-score/brainscore_vision/model_helpers/check_submission/check_models.py", line 39, in check_base_models
check_processing(model, module)
File "/weka/scratch/weka/dicarlo/yu_xie/projects/brain-score/brainscore_vision/model_helpers/check_submission/check_models.py", line 47, in check_processing
benchmark = _MockBenchmark()
File "/weka/scratch/weka/dicarlo/yu_xie/projects/brain-score/brainscore_vision/model_helpers/check_submission/check_models.py", line 73, in __init__
if hasattr(self.assembly, brainscore_vision.metric_helpers.Defaults.stratification_coord) else None))
AttributeError: type object 'Defaults' has no attribute 'stratification_coord'
Activity
mike-ferguson commentedon Feb 23, 2024
Hey @YudiXie, I will check this out too! Stay tuned
mike-ferguson commentedon Feb 29, 2024
@YudiXie This should be addressed in #585, but I am testing that fix now. I split this issue into a new one, as the fix is on vision instead of web