Skip to content

Instantly share code, notes, and snippets.

@nmayorov
Last active September 19, 2021 02:52
Show Gist options
  • Save nmayorov/6098a514cc3277d72dd7 to your computer and use it in GitHub Desktop.
Save nmayorov/6098a514cc3277d72dd7 to your computer and use it in GitHub Desktop.
Large scale bundle adjustment in scipy
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JepsonNomad
Copy link

@TungTNguyen the code works for Python 2.7.13 if these two changes are made:

Change line 2 in[4] to: urllib.urlopen(URL, FILE_NAME)
Change line 2 in[5] to: with bz2.BZ2File(file_name, "r") as file:

Tested on mid 2012 Macbook pro with OS version 10.13.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment