Skip to content

Commit

Permalink
Fix depth path function
Browse files Browse the repository at this point in the history
The function should access the _depth_ folder and not the _instance_ one.
  • Loading branch information
margaritaG committed Mar 22, 2017
1 parent 73c6ae1 commit d304fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion read_protobuf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def instance_path_from_view(render_path,view):
return os.path.join(data_root_path,image_path)

def depth_path_from_view(render_path,view):
photo_path = os.path.join(render_path,'instance')
photo_path = os.path.join(render_path,'depth')
image_path = os.path.join(photo_path,'{0}.png'.format(view.frame_num))
return os.path.join(data_root_path,image_path)

Expand Down

0 comments on commit d304fd7

Please sign in to comment.