Hi, I am curious about where should we put our fol...
# questions
j
Hi, I am curious about where should we put our folder in kedro project. For example, I have a
dataset
folder which store my defined pytorch Dataset class and another module called
model
, I will need to import the dataset and model classes into my kedro nodes. What are the best practices to store these module?
d
It should go under the
src/<package-name>/
folder; exactly where you organize it under there is up to you. E.g. if it's in
src/my_project/datasets/pytorch_dataset.py
, you can import it
from my_project.datasets.pytorch_dataset
.
👍 1