https://kedro.org/ logo
#questions
Title
# questions
j

Jackson

08/07/2023, 3:17 AM
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

Deepyaman Datta

08/07/2023, 4:09 AM
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