DLR-RM / BlenderProc

A procedural Blender pipeline for photorealistic training image generation
GNU General Public License v3.0
2.81k stars 452 forks source link

'blenderproc download ikea' URL is invalid #1138

Open Griperis opened 2 months ago

Griperis commented 2 months ago

The URL to get the IKEA dataset from no longer exists http://ikea.csail.mit.edu/zip/IKEA_models.zip and results in error.

Command output:

blenderproc download ikea resources/ikea
Downloading the zip file (166mb)...
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Program Files\Python312\Scripts\blenderproc.exe\__main__.py", line 7, in <module>
  File "C:\Users\Gripe\polygoniq_projects\BlenderProc\blenderproc\command_line.py", line 233, in cli
    current_cli()
  File "C:\Users\Gripe\polygoniq_projects\BlenderProc\blenderproc\scripts\download_ikea.py", line 83, in cli
    urlretrieve(ikea_url, zip_file_path)
  File "C:\Program Files\Python312\Lib\urllib\request.py", line 240, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
                            ^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python312\Lib\urllib\request.py", line 215, in urlopen
    return opener.open(url, data, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python312\Lib\urllib\request.py", line 521, in open
    response = meth(req, response)
               ^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python312\Lib\urllib\request.py", line 630, in http_response
    response = self.parent.error(
               ^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python312\Lib\urllib\request.py", line 559, in error
    return self._call_chain(*args)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python312\Lib\urllib\request.py", line 492, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "C:\Program Files\Python312\Lib\urllib\request.py", line 639, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

BlenderProc version

blender4.1.1 / main

cornerfarmer commented 2 months ago

Yes the dataset seems to be not available anymore. One can use pix3d instead (see #988). Probably we should add a warning to the download command and adjust the ikea examples