Skip to content

Commit f3e9302

Browse files
authored
Fixing Doc Conf (#49)
1 parent ce93579 commit f3e9302

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
import shutil
88
import sys
99

10-
import renate
10+
sys.path.insert(0, os.path.abspath("../src/"))
1111

12-
sys.path.insert(0, os.path.abspath("."))
12+
import renate
1313

1414

1515
def run_apidoc(app):

src/renate/data/data_module.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ class RenateDataModule(abc.ABC):
2020
2121
A data module implements two methods for data preparation:
2222
- `prepare_data()` downloads the data to the local machine and unpacks it.
23-
- `setup()` creates pytorch dataset objects that return training, test and (possibly) validation
24-
data.
23+
- `setup()` creates pytorch dataset objects that return training, test and (possibly) validation data.
2524
These two steps are separated to streamline the process when launching multiple training jobs
2625
simultaneously, e.g., for hyperparameter optimization. In this case, `prepare_data()` is only
2726
called once per machine.

0 commit comments

Comments
 (0)