Skip to content

Improve models structure #53

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 4, 2021
Merged

Improve models structure #53

merged 3 commits into from
Aug 4, 2021

Conversation

lolipopshock
Copy link
Member

In this update, we aim to improve the structure of the modeling folder to provide better support for building models of different backends.

In the new model folder, we provide the following files as the template to implement models for specific backend:

models
├─ base_catalogue.py
└─ base_layoutmodel.py # contains the template class `BaseLayoutModel` for building new model classes. 

And for the specific model folder, it contains the following files

specific_model_folder/
├─ __init__.py
├─ catalogue.py # specifies the pre-trained model information, need to register `PathManager` from `base_catalogue.py`
└─ layoutmodel.py # contains the model class for the specific backend. 

@lolipopshock lolipopshock merged commit 2d35ab6 into master Aug 4, 2021
@lolipopshock lolipopshock mentioned this pull request Aug 4, 2021
@lolipopshock lolipopshock deleted the improve-models-structure branch August 17, 2021 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant