Skip to content

Commit

Permalink
fix missing model and taskmodule imports from pie_modules in evaluate…
Browse files Browse the repository at this point in the history
….py and predict.py
  • Loading branch information
ArneBinder committed Jun 12, 2024
1 parent 76b0454 commit 1d3d31a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
import pytorch_lightning as pl
from omegaconf import DictConfig
from pie_datasets import DatasetDict
from pie_modules.models import * # noqa: F403
from pie_modules.taskmodules import * # noqa: F403
from pytorch_ie.core import PyTorchIEModel, TaskModule
from pytorch_lightning import Trainer

Expand Down
2 changes: 2 additions & 0 deletions src/predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
import pytorch_lightning as pl
from omegaconf import DictConfig, OmegaConf
from pie_datasets import DatasetDict
from pie_modules.models import * # noqa: F403
from pie_modules.taskmodules import * # noqa: F403
from pytorch_ie import Pipeline

from src import utils
Expand Down

0 comments on commit 1d3d31a

Please sign in to comment.