Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Update DataSet.py
Browse files Browse the repository at this point in the history
fix bug
compute get_grid_shape only if grid_shape is not provided
  • Loading branch information
manonreau committed Jun 29, 2021
1 parent 295b440 commit 14b03c6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deeprank/learn/DataSet.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,10 @@ def process_dataset(self):

# get the pairing
self.get_pairing_feature()

# get grid shape
self.get_grid_shape()

if self.grid_shape is None:
# get grid shape
self.get_grid_shape()

# get the input shape
self.get_input_shape()
Expand Down

0 comments on commit 14b03c6

Please sign in to comment.