Skip to content

Commit

Permalink
Fixed inconsistent-return-statements. (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaochaorui authored Nov 12, 2020
1 parent 228a6c0 commit ccf018e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mmpose/apis/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,4 @@ def collect_results_gpu(result_part, size):
# the dataloader may pad some samples
ordered_results = ordered_results[:size]
return ordered_results
return None
1 change: 1 addition & 0 deletions mmpose/datasets/datasets/mesh/mesh_mix_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ def __getitem__(self, idx):
self.datasets[i]) / self.length
index_new = int(np.round(index_new)) % (len(self.datasets[i]))
return self.datasets[i][index_new]
return None

0 comments on commit ccf018e

Please sign in to comment.