Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fixes #1

wants to merge 2 commits into from

Commits on Nov 13, 2019

  1. Fix to work with latest numpy

    The allow_pickle option's default is False since numpy 1.16.3. Fix
    by specifying allow_pickle=True explicitly.
    
    Fixes the following crash:
    
    Traceback (most recent call last):
      File "tools/load.py", line 472, in <module>
        scenegraph3d[model]['graph'], scenegraph3d[model]['panoramas'] = load_3DSceneGraph(model, data_path)
      File "tools/load.py", line 199, in load_3DSceneGraph
        building, panoramas = load_file(npz_path, building)
      File "tools/load.py", line 139, in load_file
        data = np.load(npz_path)['output'].item()
      File "python3.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
        pickle_kwargs=self.pickle_kwargs)
      File "python3.7/site-packages/numpy/lib/format.py", line 696, in read_array
        raise ValueError("Object arrays cannot be loaded when "
    ValueError: Object arrays cannot be loaded when allow_pickle=False
    Mandeep Singh Baines committed Nov 13, 2019
    Configuration menu
    Copy the full SHA
    fd8e346 View commit details
    Browse the repository at this point in the history
  2. Fix typo

    Mandeep Singh Baines committed Nov 13, 2019
    Configuration menu
    Copy the full SHA
    a597033 View commit details
    Browse the repository at this point in the history