Skip to content
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

Xtef! #26

Open
Xay140X opened this issue Jul 31, 2021 · 0 comments
Open

Xtef! #26

Xay140X opened this issue Jul 31, 2021 · 0 comments

Comments

@Xay140X
Copy link

Xay140X commented Jul 31, 2021

clone project

git clone https://github.com/YourGithubName/deep-learning-project-template

install project

cd deep-learning-project-template
pip install -e .
pip install -r requirements.txt
Next, navigate to any file and run it.

module folder

cd project

run module (example: mnist as your main contribution)

python lit_classifier_main.py
Imports

This project is setup as a package which means you can now easily import any file into any other file like so:

from project.datasets.mnist import mnist
from project.lit_classifier_main import LitClassifier
from pytorch_lightning import Trainer

model

model = LitClassifier()

data

train, val, test = mnist()

train

trainer = Trainer()
trainer.fit(model, train, val)

test using the best model!

trainer.test(test_dataloaders=test)
Citation

@Article{YourName,
title={Your Title},
author={Your team},
journal={Location},
year={Year}
great={vocal}
Asp.2n={kesnting}

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

No branches or pull requests

1 participant