-
Notifications
You must be signed in to change notification settings - Fork 0
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 #4 from owczr/develop
Add features for full training
- Loading branch information
Showing
11 changed files
with
229 additions
and
116 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
requirements.txt | ||
README.md | ||
LICENSE | ||
tests/ | ||
notebooks/ | ||
docs/ | ||
.pytest_cache/ | ||
.github/ | ||
|
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 |
---|---|---|
@@ -1,9 +1,14 @@ | ||
FROM continuumio/miniconda3 | ||
|
||
RUN conda update -n base -c defaults conda | ||
RUN pip install --upgrade pip | ||
|
||
RUN pip install numpy==1.23.5 | ||
RUN pip install pydicom==2.4.4 | ||
RUN pip install scikit-image==0.20.0 | ||
RUN pip install tensorflow==2.12.0 | ||
RUN pip install tqdm==4.65.0 | ||
RUN pip install pytest==7.4.0 | ||
RUN pip install click==8.0.4 | ||
RUN pip install azure-ai-ml==1.12.1 | ||
RUN pip install tensorflow-addons==0.23.0 | ||
|
||
COPY conda_dependencies.yaml . | ||
RUN conda env create -f conda_dependencies.yaml -q && \ | ||
rm conda_dependencies.yaml && \ | ||
conda run pip cache purge && \ | ||
conda clean -a -y |
This file was deleted.
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
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,6 @@ | ||
python -m scripts.azure.machine_learning.run_job \ | ||
--model mobilenet \ | ||
--optimizer adam \ | ||
--loss binary_crossentropy \ | ||
--epochs 2 \ | ||
--batch_size 64 |
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 @@ | ||
#!/bin/sh | ||
|
||
OPTIMIZER="adam" | ||
LOSS="binary_crossentropy" | ||
EPOCHS=1 | ||
BATCH_SIZE=32 | ||
|
||
for model in mobilenet nasnet efficientnet efficientnetv2 densenet inceptionnet xception resnet resnetv2 convnext inceptionresnet vgg; | ||
do | ||
python -m scripts.azure.machine_learning.run_job \ | ||
--model "$model" \ | ||
--optimizer "$OPTIMIZER" \ | ||
--loss "$LOSS" \ | ||
--epochs "$EPOCHS" \ | ||
--batch_size "$BATCH_SIZE" | ||
done | ||
|
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
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 @@ | ||
#!/bin/sh | ||
|
||
OPTIMIZER="adam" | ||
LOSS="binary_crossentropy" | ||
EPOCHS=100 | ||
BATCH_SIZE=64 | ||
|
||
for model in mobilenet nasnet efficientnet efficientnetv2 densenet inceptionnet xception resnet resnetv2 convnext inceptionresnet vgg; | ||
do | ||
python -m scripts.azure.machine_learning.run_job \ | ||
--model "$model" \ | ||
--optimizer "$OPTIMIZER" \ | ||
--loss "$LOSS" \ | ||
--epochs "$EPOCHS" \ | ||
--batch_size "$BATCH_SIZE" | ||
done | ||
|
Oops, something went wrong.