Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion metric_depth/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

os.makedirs(args.outdir, exist_ok=True)

cmap = matplotlib.colormaps.get_cmap('Spectral')
cmap = matplotlib.colormaps['Spectral']

for k, filename in enumerate(filenames):
print(f'Progress {k+1}/{len(filenames)}: {filename}')
Expand Down
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

os.makedirs(args.outdir, exist_ok=True)

cmap = matplotlib.colormaps.get_cmap('Spectral_r')
cmap = matplotlib.colormaps['Spectral']

for k, filename in enumerate(filenames):
print(f'Progress {k+1}/{len(filenames)}: {filename}')
Expand Down
2 changes: 1 addition & 1 deletion run_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
os.makedirs(args.outdir, exist_ok=True)

margin_width = 50
cmap = matplotlib.colormaps.get_cmap('Spectral_r')
cmap = matplotlib.colormaps['Spectral']

for k, filename in enumerate(filenames):
print(f'Progress {k+1}/{len(filenames)}: {filename}')
Expand Down