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'm having a problem with downloading the lawschool GPA dataset using the fetch_lawschool_gpa function due to an error thrown in tempeh's seaphe_datasets.py file.
File "/home/robertsj/miniconda3/envs/hpobench_fairmohpo/lib/python3.9/site-packages/tempeh/datasets/seaphe_datasets.py", line 39, in load_lawschool_data
with zipfile.ZipFile(temp_file_name, 'r') as zip_ref:
File "/home/robertsj/miniconda3/envs/hpobench_fairmohpo/lib/python3.9/zipfile.py", line 1266, in __init__
self._RealGetContents()
File "/home/robertsj/miniconda3/envs/hpobench_fairmohpo/lib/python3.9/zipfile.py", line 1333, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
I believe the issue is that response.content contains the HTML code for the URL http://www.seaphe.org/databases/LSAC/LSAC_SAS.zip, not the zip contents. Do you know if tempeh has made any major changes or dropped support for the Lawschool dataset?
I wonder if you are able to reproduce this error, or provide me with other direction?
Best,
Jake Robertson
University of Freiburg
The text was updated successfully, but these errors were encountered:
Hello,
I'm having a problem with downloading the lawschool GPA dataset using the
fetch_lawschool_gpa
function due to an error thrown intempeh
'sseaphe_datasets.py
file.I believe the issue is that
response.content
contains the HTML code for the URLhttp://www.seaphe.org/databases/LSAC/LSAC_SAS.zip
, not the zip contents. Do you know iftempeh
has made any major changes or dropped support for the Lawschool dataset?I wonder if you are able to reproduce this error, or provide me with other direction?
Best,
Jake Robertson
University of Freiburg
The text was updated successfully, but these errors were encountered: