Skip to content

Commit

Permalink
Remove unreachable lines (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tai-Wang authored Dec 16, 2020
1 parent 2d0b771 commit 068cae5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tools/data_converter/nuscenes_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,6 @@ def get_available_scenes(nusc):
break
else:
break
if not sd_rec['next'] == '':
sd_rec = nusc.get('sample_data', sd_rec['next'])
else:
has_more_frames = False
if scene_not_exist:
continue
available_scenes.append(scene)
Expand Down

0 comments on commit 068cae5

Please sign in to comment.