Skip to content

Commit

Permalink
feat: unify folder structure of gtfs2vec with rest of the library
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrgramacki committed Apr 19, 2023
1 parent 48cbb27 commit 554d9c8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion srai/embedders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from ._base import Embedder
from .count_embedder import CountEmbedder
from .gtfs2vec_embedder import GTFS2VecEmbedder
from .gtfs2vec import GTFS2VecEmbedder
from .highway2vec import Highway2VecEmbedder

__all__ = ["Embedder", "CountEmbedder", "GTFS2VecEmbedder", "Highway2VecEmbedder"]
6 changes: 6 additions & 0 deletions srai/embedders/gtfs2vec/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""Models."""

from .embedder import GTFS2VecEmbedder
from .model import GTFS2VecModel

__all__ = ["GTFS2VecEmbedder", "GTFS2VecModel"]
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
from torch.utils.data import DataLoader

from srai.embedders import Embedder
from srai.embedders.gtfs2vec.model import GTFS2VecModel
from srai.exceptions import ModelNotFitException
from srai.loaders.gtfs_loader import GTFS2VEC_DIRECTIONS_PREFIX, GTFS2VEC_TRIPS_PREFIX
from srai.models import GTFS2VecModel


class GTFS2VecEmbedder(Embedder):
Expand Down
File renamed without changes.
5 changes: 0 additions & 5 deletions srai/models/__init__.py

This file was deleted.

0 comments on commit 554d9c8

Please sign in to comment.