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
Appears to be due to the abundance of NaN values under the benchmark.
Specifically, representative_color(score_row.score_raw, min_value=benchmark_min, max_value=benchmark_max) is attempting to convert a NaN value into an integer.
Probably related to this is that the sort dropdown menu for Kar2019-ost benchmark does not work.
Environment:
Request Method: GET
Request URL: http://localhost:8000/benchmark/vision/50
Django Version: 4.2.18
Python Version: 3.8.19
Installed Applications:
['benchmarks.apps.BenchmarksConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'compressor']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']
Traceback (most recent call last):
File "/opt/anaconda3/envs/web/lib/python3.8/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/opt/anaconda3/envs/web/lib/python3.8/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/kartik/MIT/brain-score.web/benchmarks/views/benchmark.py", line 52, in view
color=representative_color(score_row.score_raw, min_value=benchmark_min, max_value=benchmark_max),
File "/Users/kartik/MIT/brain-score.web/benchmarks/views/index.py", line 652, in representative_color
step = int(100 * normalized_value)
Exception Type: ValueError at /benchmark/vision/50
Exception Value: cannot convert float NaN to integer
The text was updated successfully, but these errors were encountered:
Appears to be due to the abundance of NaN values under the benchmark.
Specifically,
representative_color(score_row.score_raw, min_value=benchmark_min, max_value=benchmark_max)
is attempting to convert a NaN value into an integer.Probably related to this is that the sort dropdown menu for Kar2019-ost benchmark does not work.
The text was updated successfully, but these errors were encountered: