-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #226 from InnopolisUni/stratify
Stratify
- Loading branch information
Showing
4,210 changed files
with
41,814 additions
and
62 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# @package _global_ | ||
defaults: | ||
- override /models: | ||
- override /datasets: | ||
- override /optimizers: | ||
- override /augmentations_train: | ||
- override /augmentations_val: | ||
- override /augmentations_test: | ||
- override /losses: | ||
|
||
project: | ||
task: | ||
random_seed: | ||
stop_param: | ||
epochs: | ||
weights_freq: | ||
batch_size: |
20 changes: 20 additions & 0 deletions
20
config/experiments/example_image_classification_resnet.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# @package _global_ | ||
defaults: | ||
- override /models: classification/resnet.yaml | ||
- override /datasets: classification/classification_mnist.yaml | ||
- override /augmentations_train: none #classification.yaml | ||
- override /augmentations_val: none | ||
- override /augmentations_test: none | ||
- override /losses: log_loss.yaml | ||
- override /optimizers: adam | ||
- override /schedulers: | ||
|
||
project: "mnist_classification" | ||
task: "image-classification" | ||
random_seed: 42 | ||
batch_size: 128 | ||
epochs: 5 | ||
accelerator: "gpu" | ||
devices: 2 | ||
num_workers: 1 | ||
weights_freq: 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# @package _global_ | ||
batch_size: 2 | ||
defaults: | ||
- override /models: detection/yolov5 | ||
- override /datasets: detection/detection_rotten_fruits | ||
epochs: 3 | ||
project: rotten_fruits | ||
random_seed: 43 | ||
task: image-detection | ||
weights_freq: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# @package _global_ | ||
defaults: | ||
- override /models: semantic-segmentation/unet | ||
- override /datasets: semantic-segmentation/segmentation_brain.yaml | ||
- override /augmentations_train: none #segmentation_stroke.yaml | ||
- override /augmentations_val: none | ||
- override /augmentations_test: none | ||
- override /losses: segmentation_losses.yaml | ||
models: | ||
in_channels: 1 | ||
project: "segmentation" | ||
task: "image-segmentation-complexing" | ||
random_seed: 42 | ||
stop_param: 10 | ||
epochs: 300 | ||
weights_freq: 1 | ||
batch_size: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# @package _global_ | ||
defaults: | ||
- override /models: classification/lung_description_decision.yaml | ||
- override /datasets: classification/lung_description_decision_datamodule.yaml | ||
- override /callbacks: lung_description_decision | ||
|
||
project: "lung_description_decision" | ||
task: "table-classification" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# @package _global_ | ||
defaults: | ||
- override /models: clustering/kmeans | ||
- override /datasets: clustering/clustering_credit_cards | ||
- override /callbacks: clustering | ||
|
||
|
||
project: "credit_cards" | ||
task: "table-clustering" | ||
random_seed: 42 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# @package _global_ | ||
defaults: | ||
- override /models: regression/catboost_regression | ||
- override /datasets: qm9 | ||
- override /callbacks: regression | ||
|
||
|
||
project: "qm9" | ||
task: "qsar-regression" | ||
random_seed: 42 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,33 +5,28 @@ | |
from dash.long_callback import DiskcacheLongCallbackManager | ||
import diskcache | ||
|
||
cache = diskcache.Cache("./cache") | ||
long_callback_manager = DiskcacheLongCallbackManager(cache) | ||
|
||
app = dash.Dash(__name__, | ||
long_callback_manager=long_callback_manager, | ||
use_pages=True, | ||
external_stylesheets=[dbc.themes.BOOTSTRAP, dbc.icons.BOOTSTRAP, "dui.css"], | ||
external_scripts=["dui.js", | ||
"https://code.jquery.com/jquery-3.3.1.slim.min.js", | ||
"https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js", | ||
"https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"]) # initialising dash app | ||
dash.register_page(__name__, path_template="/") | ||
|
||
|
||
def layout(): | ||
lout = dbc.Container([ | ||
|
||
lout = dbc.Container([ | ||
dbc.Row([dbc.Col([html.H4("Experiment Configurator", style={"height": 40})]), | ||
dbc.Col([html.Div(html.Img(src=dash.get_asset_url('_innofw_.svg'), style={"height": 40, "width": 60}), | ||
className="self-align-right")]), | ||
html.Span(className="border-bottom")], | ||
|
||
style={"margin-top": 10, "margin-bottom": 10, "margin-right": 5}), | ||
|
||
dash.page_container]) | ||
return lout | ||
|
||
|
||
if __name__ == '__main__': | ||
cache = diskcache.Cache("./cache") | ||
long_callback_manager = DiskcacheLongCallbackManager(cache) | ||
|
||
app = dash.Dash(__name__, | ||
long_callback_manager=long_callback_manager, | ||
use_pages=True, | ||
external_stylesheets=["bootstrap.min.css", | ||
("icons/", "font/bootstrap-icons.css"), | ||
"dui.css",], | ||
external_scripts=["jquery-3.3.1.slim.min.js", | ||
"popper.min.js", | ||
"bootstrap.min.js", | ||
"dui.js"]) # initialising dash app | ||
|
||
dash.register_page("inintial", path_template="/", layout=lout) | ||
app.run_server() |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.