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

Frontend Buildcheck Workflow Revamp #1099

Merged
merged 14 commits into from
Feb 2, 2024
Merged
310 changes: 155 additions & 155 deletions .github/Architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,223 +5,223 @@
```
📦 training
| |- 📂 training:
| | |- 📂 core:
| | | |- 📜 optimizer.py : what optimizer to use (ie: SGD or Adam for now)
| | | |- 📜 dl_model.py : torch model based on user specifications from drag and drop
| | | |- 📜 dataset.py : read in the dataset through URL or file upload
| | | |- 📜 authenticator.py
| | | |- 📜 trainer.py
| | | |- 📜 criterion.py
| | | |- 📜 __init__.py
| | |- 📂 routes:
| | | |- 📂 tabular:
| | | | |- 📜 __init__.py
| | | |- 📂 image:
| | | | |- 📜 schemas.py
| | | | |- 📜 __init__.py
| | | | |- 📜 image.py
| | | |- 📂 tabular:
| | | | |- 📜 tabular.py
| | | | |- 📜 schemas.py
| | | | |- 📜 __init__.py
| | | |- 📂 datasets:
| | | | |- 📂 default:
| | | | | |- 📜 schemas.py
| | | | | |- 📜 columns.py
| | | | | |- 📜 __init__.py
| | | | | |- 📜 schemas.py
| | | | |- 📜 __init__.py
| | | |- 📂 image:
| | | | |- 📜 image.py
| | | | |- 📜 __init__.py
| | | | |- 📜 schemas.py
| | | |- 📜 __init__.py
| | | |- 📜 schemas.py
| | |- 📂 core:
| | | |- 📜 dl_model.py : torch model based on user specifications from drag and drop
| | | |- 📜 trainer.py
| | | |- 📜 authenticator.py
| | | |- 📜 __init__.py
| | | |- 📜 dataset.py : read in the dataset through URL or file upload
| | | |- 📜 criterion.py
| | | |- 📜 optimizer.py : what optimizer to use (ie: SGD or Adam for now)
| | |- 📜 settings.py
| | |- 📜 urls.py
| | |- 📜 wsgi.py
| | |- 📜 asgi.py
| | |- 📜 wsgi.py
| | |- 📜 urls.py
| | |- 📜 __init__.py
| |- 📜 poetry.lock
| |- 📜 pyproject.toml
| |- 📜 docker-compose.prod.yml
| |- 📜 cli.py
| |- 📜 Dockerfile
| |- 📜 README.md
| |- 📜 docker-compose.yml
| |- 📜 Dockerfile.prod
| |- 📜 pytest.ini
| |- 📜 manage.py
| |- 📜 poetry.lock
| |- 📜 Dockerfile.prod
| |- 📜 environment.yml
| |- 📜 README.md
| |- 📜 Dockerfile
| |- 📜 cli.py
| |- 📜 pytest.ini
| |- 📜 pyproject.toml
| |- 📜 docker-compose.prod.yml
```

## Frontend Architecture

```
📦 frontend
| |- 📂 layer_docs:
| | |- 📜 Linear.md : Doc for Linear layer
| | |- 📜 softmax_equation.png : PNG file of Softmax equation
| | |- 📜 Softmax.md : Doc for Softmax layer
| | |- 📜 ReLU.md : Doc for ReLU later
| |- 📂 public:
| | |- 📂 images:
| | | |- 📂 learn_mod_images:
| | | | |- 📜 binarystepactivation.png
| | | | |- 📜 lossExampleEquation.png
| | | | |- 📜 robotImage.jpg
| | | | |- 📜 sigmoidfunction.png
| | | | |- 📜 tanhactivation.png
| | | | |- 📜 lossExampleTable.png
| | | | |- 📜 neuron.png
| | | | |- 📜 sigmoidactivation.png
| | | | |- 📜 ReLUactivation.png
| | | | |- 📜 lossExample.png
| | | | |- 📜 neuralnet.png
| | | | |- 📜 neuronWithEquation.png
| | | | |- 📜 LeakyReLUactivation.png
| | | |- 📂 wiki_images:
| | | | |- 📜 tanh_equation.png
| | | | |- 📜 avgpool_maxpool.gif
| | | | |- 📜 batchnorm_diagram.png
| | | | |- 📜 conv2d.gif
| | | | |- 📜 tanh_plot.png
| | | | |- 📜 softmax_equation.png : PNG file of Softmax equation
| | | | |- 📜 dropout_diagram.png
| | | | |- 📜 sigmoid_equation.png
| | | | |- 📜 conv2d2.gif
| | | | |- 📜 maxpool2d.gif
| | | |- 📂 logos:
| | | | |- 📂 dlp_branding:
| | | | | |- 📜 dlp-logo.png : DLP Logo, duplicate of files in public, but essential as the frontend can't read public
| | | | | |- 📜 dlp-logo.svg : DLP Logo, duplicate of files in public, but essential as the frontend can't read public
| | | | |- 📜 flask-logo.png
| | | | |- 📜 dsgt-logo-white-back.png
| | | | |- 📜 aws-logo.png
| | | | |- 📜 pandas-logo.png
| | | | |- 📜 react-logo.png
| | | | |- 📜 github.png
| | | | |- 📜 google.png
| | | | |- 📜 dsgt-logo-dark.png
| | | | |- 📜 dsgt-logo-light.png
| | | | |- 📜 python-logo.png
| | | | |- 📜 pytorch-logo.png
| | | |- 📜 demo_video.gif : GIF tutorial of a simple classification training session
| | |- 📜 dlp-logo.ico : DLP Logo
| | |- 📜 index.html : Base HTML file that will be initially rendered
| | |- 📜 robots.txt
| | |- 📜 manifest.json : Default React file for choosing icon based on
| |- 📂 src:
| | |- 📂 pages:
| | | |- 📂 train:
| | | | |- 📜 [train_space_id].tsx
| | | | |- 📜 index.tsx
| | | |- 📜 wiki.tsx
| | | |- 📜 _app.tsx
| | | |- 📜 learn.tsx
| | | |- 📜 LearnContent.tsx
| | | |- 📜 forgot.tsx
| | | |- 📜 feedback.tsx
| | | |- 📜 about.tsx
| | | |- 📜 dashboard.tsx
| | | |- 📜 login.tsx
| | | |- 📜 _document.tsx
| | | |- 📜 settings.tsx
| | |- 📂 common:
| | | |- 📂 utils:
| | | | |- 📜 dateFormat.ts
| | | | |- 📜 firebase.ts
| | | | |- 📜 dndHelpers.ts
| | | |- 📂 redux:
| | | | |- 📜 hooks.ts
| | | | |- 📜 store.ts
| | | | |- 📜 userLogin.ts
| | | | |- 📜 train.ts
| | | | |- 📜 backendApi.ts
| | | |- 📂 styles:
| | | | |- 📜 globals.css
| | | | |- 📜 Home.module.css
| | | |- 📂 components:
| | | | |- 📜 HtmlTooltip.tsx
| | | | |- 📜 DlpTooltip.tsx
| | | | |- 📜 TitleText.tsx
| | | | |- 📜 ClientOnlyPortal.tsx
| | | | |- 📜 EmailInput.tsx
| | | | |- 📜 Spacer.tsx
| | | | |- 📜 Footer.tsx
| | | | |- 📜 NavBarMain.tsx
| | |- 📂 features:
| | | |- 📂 OpenAi:
| | | | |- 📜 openAiUtils.ts
| | | |- 📂 Feedback:
| | | | |- 📂 redux:
| | | | | |- 📜 feedbackApi.ts
| | | |- 📂 Train:
| | | | |- 📂 types:
| | | | | |- 📜 trainTypes.ts
| | | | |- 📂 features:
| | | | | |- 📂 Image:
| | | | | | |- 📂 types:
| | | | | | | |- 📜 imageTypes.ts
| | | | | |- 📂 Tabular:
| | | | | | |- 📂 redux:
| | | | | | | |- 📜 imageApi.ts
| | | | | | | |- 📜 imageActions.ts
| | | | | | |- 📂 components:
| | | | | | | |- 📜 ImageParametersStep.tsx
| | | | | | | |- 📜 ImageFlow.tsx
| | | | | | | |- 📜 ImageDatasetStep.tsx
| | | | | | | |- 📜 ImageReviewStep.tsx
| | | | | | | |- 📜 ImageTrainspace.tsx
| | | | | | | |- 📜 tabularActions.ts
| | | | | | | |- 📜 tabularApi.ts
| | | | | | |- 📂 constants:
| | | | | | | |- 📜 imageConstants.ts
| | | | | | |- 📜 index.ts
| | | | | |- 📂 Tabular:
| | | | | | | |- 📜 tabularConstants.ts
| | | | | | |- 📂 types:
| | | | | | | |- 📜 tabularTypes.ts
| | | | | | |- 📂 redux:
| | | | | | | |- 📜 tabularApi.ts
| | | | | | | |- 📜 tabularActions.ts
| | | | | | |- 📂 components:
| | | | | | | |- 📜 TabularDatasetStep.tsx
| | | | | | | |- 📜 TabularReviewStep.tsx
| | | | | | | |- 📜 TabularParametersStep.tsx
| | | | | | | |- 📜 TabularTrainspace.tsx
| | | | | | | |- 📜 TabularFlow.tsx
| | | | | | | |- 📜 TabularParametersStep.tsx
| | | | | | | |- 📜 TabularReviewStep.tsx
| | | | | | |- 📜 index.ts
| | | | | |- 📂 Image:
| | | | | | |- 📂 redux:
| | | | | | | |- 📜 imageActions.ts
| | | | | | | |- 📜 imageApi.ts
| | | | | | |- 📂 constants:
| | | | | | | |- 📜 tabularConstants.ts
| | | | | | | |- 📜 imageConstants.ts
| | | | | | |- 📂 types:
| | | | | | | |- 📜 imageTypes.ts
| | | | | | |- 📂 components:
| | | | | | | |- 📜 ImageReviewStep.tsx
| | | | | | | |- 📜 ImageParametersStep.tsx
| | | | | | | |- 📜 ImageDatasetStep.tsx
| | | | | | | |- 📜 ImageTrainspace.tsx
| | | | | | | |- 📜 ImageFlow.tsx
| | | | | | |- 📜 index.ts
| | | | |- 📂 redux:
| | | | | |- 📜 trainspaceApi.ts
| | | | | |- 📜 trainspaceSlice.ts
| | | | |- 📂 constants:
| | | | | |- 📜 trainConstants.ts
| | | | |- 📂 types:
| | | | | |- 📜 trainTypes.ts
| | | | |- 📂 components:
| | | | | |- 📜 CreateTrainspace.tsx
| | | | | |- 📜 DatasetStepLayout.tsx
| | | | | |- 📜 TrainspaceLayout.tsx
| | | | |- 📂 constants:
| | | | | |- 📜 trainConstants.ts
| | | | | |- 📜 DatasetStepLayout.tsx
| | | |- 📂 Feedback:
| | | | |- 📂 redux:
| | | | | |- 📜 feedbackApi.ts
| | | |- 📂 OpenAi:
| | | | |- 📜 openAiUtils.ts
| | | |- 📂 LearnMod:
| | | | |- 📜 Exercise.tsx
| | | | |- 📜 MCQuestion.tsx
| | | | |- 📜 ModulesSideBar.tsx
| | | | |- 📜 ImageComponent.tsx
| | | | |- 📜 LearningModulesContent.tsx
| | | | |- 📜 FRQuestion.tsx
| | | | |- 📜 Exercise.tsx
| | | | |- 📜 ClassCard.tsx
| | | | |- 📜 LearningModulesContent.tsx
| | | | |- 📜 ImageComponent.tsx
| | | | |- 📜 ModulesSideBar.tsx
| | | |- 📂 Dashboard:
| | | | |- 📂 redux:
| | | | | |- 📜 dashboardApi.ts
| | | | |- 📂 components:
| | | | | |- 📜 TrainDoughnutChart.tsx
| | | | | |- 📜 TrainBarChart.tsx
| | | | | |- 📜 TrainDataGrid.tsx
| | |- 📂 pages:
| | | |- 📂 train:
| | | | |- 📜 [train_space_id].tsx
| | | | |- 📜 index.tsx
| | | |- 📜 about.tsx
| | | |- 📜 dashboard.tsx
| | | |- 📜 _document.tsx
| | | |- 📜 learn.tsx
| | | |- 📜 LearnContent.tsx
| | | |- 📜 wiki.tsx
| | | |- 📜 forgot.tsx
| | | |- 📜 settings.tsx
| | | |- 📜 _app.tsx
| | | |- 📜 feedback.tsx
| | | |- 📜 login.tsx
| | |- 📂 backend_outputs:
| | | |- 📜 model.pkl
| | | |- 📜 model.pt : Last model.pt output
| | | |- 📜 my_deep_learning_model.onnx : Last ONNX file output
| | |- 📂 common:
| | | |- 📂 redux:
| | | | |- 📜 store.ts
| | | | |- 📜 train.ts
| | | | |- 📜 backendApi.ts
| | | | |- 📜 hooks.ts
| | | | |- 📜 userLogin.ts
| | | |- 📂 components:
| | | | |- 📜 EmailInput.tsx
| | | | |- 📜 TitleText.tsx
| | | | |- 📜 NavBarMain.tsx
| | | | |- 📜 Spacer.tsx
| | | | |- 📜 DlpTooltip.tsx
| | | | |- 📜 Footer.tsx
| | | | |- 📜 HtmlTooltip.tsx
| | | | |- 📜 ClientOnlyPortal.tsx
| | | |- 📂 utils:
| | | | |- 📜 dateFormat.ts
| | | | |- 📜 dndHelpers.ts
| | | | |- 📜 firebase.ts
| | | |- 📂 styles:
| | | | |- 📜 globals.css
| | | | |- 📜 Home.module.css
| | | |- 📜 model.pt : Last model.pt output
| | | |- 📜 model.pkl
| | |- 📜 GlobalStyle.ts
| | |- 📜 constants.ts
| | |- 📜 iris.csv : Sample CSV data
| | |- 📜 constants.ts
| | |- 📜 next-env.d.ts
| |- 📂 public:
| | |- 📂 images:
| | | |- 📂 wiki_images:
| | | | |- 📜 maxpool2d.gif
| | | | |- 📜 tanh_equation.png
| | | | |- 📜 softmax_equation.png : PNG file of Softmax equation
| | | | |- 📜 conv2d2.gif
| | | | |- 📜 dropout_diagram.png
| | | | |- 📜 tanh_plot.png
| | | | |- 📜 avgpool_maxpool.gif
| | | | |- 📜 batchnorm_diagram.png
| | | | |- 📜 conv2d.gif
| | | | |- 📜 sigmoid_equation.png
| | | |- 📂 logos:
| | | | |- 📂 dlp_branding:
| | | | | |- 📜 dlp-logo.svg : DLP Logo, duplicate of files in public, but essential as the frontend can't read public
| | | | | |- 📜 dlp-logo.png : DLP Logo, duplicate of files in public, but essential as the frontend can't read public
| | | | |- 📜 aws-logo.png
| | | | |- 📜 pytorch-logo.png
| | | | |- 📜 python-logo.png
| | | | |- 📜 react-logo.png
| | | | |- 📜 github.png
| | | | |- 📜 pandas-logo.png
| | | | |- 📜 google.png
| | | | |- 📜 dsgt-logo-white-back.png
| | | | |- 📜 dsgt-logo-dark.png
| | | | |- 📜 flask-logo.png
| | | | |- 📜 dsgt-logo-light.png
| | | |- 📂 learn_mod_images:
| | | | |- 📜 lossExample.png
| | | | |- 📜 neuronWithEquation.png
| | | | |- 📜 neuralnet.png
| | | | |- 📜 robotImage.jpg
| | | | |- 📜 sigmoidfunction.png
| | | | |- 📜 lossExampleTable.png
| | | | |- 📜 LeakyReLUactivation.png
| | | | |- 📜 lossExampleEquation.png
| | | | |- 📜 ReLUactivation.png
| | | | |- 📜 neuron.png
| | | | |- 📜 tanhactivation.png
| | | | |- 📜 sigmoidactivation.png
| | | | |- 📜 binarystepactivation.png
| | | |- 📜 demo_video.gif : GIF tutorial of a simple classification training session
| | |- 📜 manifest.json : Default React file for choosing icon based on
| | |- 📜 index.html : Base HTML file that will be initially rendered
| | |- 📜 robots.txt
| | |- 📜 dlp-logo.ico : DLP Logo
| |- 📂 layer_docs:
| | |- 📜 softmax_equation.png : PNG file of Softmax equation
| | |- 📜 Softmax.md : Doc for Softmax layer
| | |- 📜 Linear.md : Doc for Linear layer
| | |- 📜 ReLU.md : Doc for ReLU later
| |- 📜 .eslintrc.json
| |- 📜 package.json
| |- 📜 .eslintignore
| |- 📜 next.config.js
| |- 📜 pnpm-lock.yaml
| |- 📜 next.config.js
| |- 📜 jest.config.js
| |- 📜 package.json
| |- 📜 tsconfig.json
| |- 📜 next-env.d.ts
| |- 📜 jest.config.js
```

Loading