2022-03-16 17:31:38 +03:00
|
|
|
# Make commands for the toolbox users
|
|
|
|
|
|
|
|
# Create a Conda environment for this folder only
|
|
|
|
env:
|
|
|
|
conda env create --file environment.yml
|
|
|
|
|
2022-07-01 00:27:17 +03:00
|
|
|
# Update the Conda environment
|
|
|
|
conda_update:
|
|
|
|
conda env update -n $(CONDA_DEFAULT_ENV) --file environment.yml --prune
|
|
|
|
|
2022-05-18 11:54:34 +03:00
|
|
|
# Package management
|
2022-02-15 19:22:04 +03:00
|
|
|
|
|
|
|
# pip upgrade
|
|
|
|
pip_upgrade:
|
2022-05-18 11:54:34 +03:00
|
|
|
python -m pip install --upgrade pip
|
2022-02-15 19:22:04 +03:00
|
|
|
|
|
|
|
# pip upgrade and install build requirements
|
2022-05-18 11:54:34 +03:00
|
|
|
pip_build: pip_upgrade
|
|
|
|
pip install -r requirements_build.txt
|
2022-02-15 19:22:04 +03:00
|
|
|
|
|
|
|
# pip upgrade and install test requirements
|
2022-05-18 11:54:34 +03:00
|
|
|
pip_test: pip_upgrade
|
|
|
|
pip install -r requirements_test.txt
|
2022-02-15 19:22:04 +03:00
|
|
|
|
2022-03-07 15:21:09 +03:00
|
|
|
# pip install all requirements for histo, read off the Conda file. This is somewhat hacky,
|
|
|
|
# we could also build a full Conda before starting the tests. Unclear about the performance
|
|
|
|
# impact of that.
|
2022-05-18 11:54:34 +03:00
|
|
|
pip_from_conda:
|
2022-03-19 10:46:00 +03:00
|
|
|
sed -e '1,/pip:/ d' environment.yml | grep -v "#" | cut -d "-" -f 2- > temp_requirements.txt
|
2022-03-07 15:21:09 +03:00
|
|
|
pip install -r temp_requirements.txt
|
2022-02-15 19:22:04 +03:00
|
|
|
|
2022-11-01 20:38:37 +03:00
|
|
|
# Lock the current Conda environment secondary dependencies versions
|
|
|
|
lock_env:
|
2022-11-11 16:46:58 +03:00
|
|
|
../create_and_lock_environment.sh
|
2022-11-01 20:38:37 +03:00
|
|
|
|
2022-02-15 19:22:04 +03:00
|
|
|
# clean build artifacts
|
|
|
|
clean:
|
2023-01-17 13:43:55 +03:00
|
|
|
for folder in .mypy_cache __pycache__ logs outputs; do \
|
|
|
|
rm -rf `find . -type d -name $$folder`; \
|
|
|
|
done
|
2022-07-21 17:13:47 +03:00
|
|
|
rm -rf ./.pytest_cache
|
|
|
|
rm -rf ./testhisto/test_outputs ./testSSL/test_outputs
|
|
|
|
rm -f ./coverage ./coverage.txt ./coverage.xml
|
2023-01-17 13:43:55 +03:00
|
|
|
rm -rf Lightning checkpoints lightning_logs
|
2022-07-21 17:13:47 +03:00
|
|
|
rm -f ./latest_version.txt ./package_name.txt
|
|
|
|
rm -rf build dist hi_ml_cpath.egg-info
|
|
|
|
rm cifar-10-python.tar.gz
|
|
|
|
rm -rf cifar-10-batches-py
|
|
|
|
|
|
|
|
# build package, assuming build requirements already installed
|
|
|
|
build:
|
|
|
|
python setup.py sdist bdist_wheel
|
|
|
|
|
|
|
|
# Brief smoke-test of the package, by just importing one of the essential modules.
|
|
|
|
test_wheel:
|
2022-07-26 11:59:34 +03:00
|
|
|
pip uninstall -y hi-ml hi-ml-azure
|
|
|
|
pip install -e ../hi-ml/
|
|
|
|
pip install -e ../hi-ml-azure/
|
2022-07-21 17:13:47 +03:00
|
|
|
pip install `ls dist/*.whl`
|
|
|
|
python -c "from health_cpath.configs.classification.BaseMIL import BaseMIL"
|
2022-02-15 19:22:04 +03:00
|
|
|
|
|
|
|
# run flake8, assuming test requirements already installed
|
2022-05-18 11:54:34 +03:00
|
|
|
flake8:
|
2022-05-06 16:03:35 +03:00
|
|
|
flake8 --count --statistics .
|
2022-02-15 19:22:04 +03:00
|
|
|
|
|
|
|
# run mypy, assuming test requirements already installed
|
2022-05-18 11:54:34 +03:00
|
|
|
mypy:
|
2022-07-18 15:40:47 +03:00
|
|
|
mypy --install-types --show-error-codes --non-interactive --package health_cpath
|
2022-06-22 11:47:22 +03:00
|
|
|
mypy --install-types --show-error-codes --non-interactive --package SSL
|
|
|
|
mypy --install-types --show-error-codes --non-interactive --package testhisto
|
|
|
|
mypy --install-types --show-error-codes --non-interactive --package testSSL
|
2022-02-15 19:22:04 +03:00
|
|
|
|
|
|
|
# run basic checks
|
2022-05-18 11:54:34 +03:00
|
|
|
check: flake8 mypy
|
2022-02-15 19:22:04 +03:00
|
|
|
|
|
|
|
# run pytest on package, assuming test requirements already installed
|
2022-05-18 11:54:34 +03:00
|
|
|
pytest:
|
|
|
|
pytest
|
2022-02-15 19:22:04 +03:00
|
|
|
|
2023-01-24 13:29:46 +03:00
|
|
|
# Run pytest with coverage on package
|
|
|
|
# Output the slowest tests via the --durations flag.
|
2022-05-18 11:54:34 +03:00
|
|
|
pytest_coverage:
|
2023-01-24 13:29:46 +03:00
|
|
|
pytest --durations=20 --cov=health_cpath --cov SSL --cov-branch --cov-report=html --cov-report=xml --cov-report=term-missing --cov-config=.coveragerc
|
2022-06-06 16:25:12 +03:00
|
|
|
|
2022-12-19 17:56:08 +03:00
|
|
|
# run pytest using GPUs via an AzureML job
|
|
|
|
pytest_gpu:
|
|
|
|
python ../hi-ml-azure/run_pytest.py \
|
|
|
|
--mark=gpu --cluster=pr-gpu \
|
|
|
|
--conda_env=environment.yml \
|
|
|
|
--folder=hi-ml-cpath \
|
|
|
|
--coverage_module=health_cpath \
|
|
|
|
--strictly_aml_v1=True
|
|
|
|
|
2022-08-09 10:25:49 +03:00
|
|
|
SSL_CKPT_RUN_ID_CRCK := CRCK_SimCLR_1655731022_85790606
|
2022-11-11 16:12:07 +03:00
|
|
|
SRC_CKPT_RUN_ID_CRCK := TcgaCrckSSLMIL_1667832811_4e855804
|
2022-08-09 10:25:49 +03:00
|
|
|
|
2022-06-06 16:25:12 +03:00
|
|
|
# Run regression tests and compare performance
|
2022-07-29 12:16:28 +03:00
|
|
|
define BASE_CPATH_RUNNER_COMMAND
|
2022-07-19 19:29:28 +03:00
|
|
|
cd ../ ; \
|
2022-11-10 21:36:40 +03:00
|
|
|
python hi-ml/src/health_ml/runner.py --mount_in_azureml --conda_env=hi-ml-cpath/environment.yml --datastore=himldatasets
|
2022-07-29 12:16:28 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
define DEEPSMILEPANDASLIDES_ARGS
|
2022-08-04 15:44:16 +03:00
|
|
|
--model=health_cpath.SlidesPandaImageNetMILBenchmark --tune_encoder
|
2022-07-29 12:16:28 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
define DEEPSMILEPANDATILES_ARGS
|
2022-08-04 15:44:16 +03:00
|
|
|
--model=health_cpath.TilesPandaImageNetMIL --tune_encoder --batch_size=2
|
2022-07-29 12:16:28 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
define TCGACRCKSSLMIL_ARGS
|
2022-11-01 20:38:37 +03:00
|
|
|
--model=health_cpath.TcgaCrckSSLMIL --ssl_checkpoint=${SSL_CKPT_RUN_ID_CRCK}
|
2022-07-29 12:16:28 +03:00
|
|
|
endef
|
2022-07-19 19:29:28 +03:00
|
|
|
|
2022-08-23 13:49:24 +03:00
|
|
|
define TCGACRCKIMANEGETMIL_ARGS
|
|
|
|
--model=health_cpath.TcgaCrckImageNetMIL --is_caching=False --batch_size=2 --max_num_gpus=1
|
|
|
|
endef
|
|
|
|
|
2022-07-29 12:16:28 +03:00
|
|
|
define CRCKSIMCLR_ARGS
|
|
|
|
--model=SSL.CRCK_SimCLR
|
2022-07-19 19:29:28 +03:00
|
|
|
endef
|
|
|
|
|
2022-08-08 13:10:19 +03:00
|
|
|
define REGRESSION_TEST_ARGS
|
2022-11-11 16:46:58 +03:00
|
|
|
--cluster dedicated-nc24s-v2 --regression_test_csv_tolerance=0.5 --strictly_aml_v1=True
|
2022-08-08 13:10:19 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
define PANDA_REGRESSION_METRICS
|
|
|
|
--regression_metrics='test/accuracy,test/macro_accuracy,test/weighted_accuracy,test/auroc,test/ISUP 0,test/ISUP 1,\
|
|
|
|
test/ISUP 2,test/ISUP 3,test/ISUP 4, test/ISUP 5,test/loss_epoch'
|
|
|
|
endef
|
|
|
|
|
2022-06-17 17:05:49 +03:00
|
|
|
regression_test_tilespandaimagenetmil:
|
2022-06-06 16:25:12 +03:00
|
|
|
{ \
|
2022-08-08 13:10:19 +03:00
|
|
|
${BASE_CPATH_RUNNER_COMMAND} ${DEEPSMILEPANDATILES_ARGS} ${REGRESSION_TEST_ARGS} \
|
2022-06-17 17:05:49 +03:00
|
|
|
--regression_test_folder=testhisto/RegressionTestResults/TilesPANDAImageNetMIL/\
|
2022-08-08 13:10:19 +03:00
|
|
|
HD_4ab0d833-fe55-44e8-aa04-cbaadbcc2733_0\
|
|
|
|
${PANDA_REGRESSION_METRICS};\
|
2022-06-17 17:05:49 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
regression_test_slidespandaimagenetmil:
|
|
|
|
{ \
|
2022-08-08 13:10:19 +03:00
|
|
|
${BASE_CPATH_RUNNER_COMMAND} ${DEEPSMILEPANDASLIDES_ARGS} ${REGRESSION_TEST_ARGS} \
|
2022-06-06 16:25:12 +03:00
|
|
|
--regression_test_folder=testhisto/RegressionTestResults/SlidesPANDAImageNetMIL/\
|
2022-08-08 13:10:19 +03:00
|
|
|
HD_0e805b91-319d-4fde-8bc3-1cea3a6d08dd_0 \
|
|
|
|
${PANDA_REGRESSION_METRICS};\
|
2022-06-06 16:25:12 +03:00
|
|
|
}
|
|
|
|
|
2022-06-17 17:05:49 +03:00
|
|
|
regression_test_tcgacrcksslmil:
|
2022-08-08 13:10:19 +03:00
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${TCGACRCKSSLMIL_ARGS} ${REGRESSION_TEST_ARGS} --max_epochs=50 \
|
2022-07-18 15:40:47 +03:00
|
|
|
--regression_test_folder=hi-ml-cpath/testhisto/RegressionTestResults/\
|
2022-08-08 13:10:19 +03:00
|
|
|
TcgaCrckSSLMIL/HD_d76ef6cd-0403-4923-b8fa-dfd2827c5d74 \
|
2022-06-17 17:05:49 +03:00
|
|
|
--regression_metrics=test/accuracy,test/auroc,test/f1score,test/precision,test/recall;\
|
2022-06-06 16:25:12 +03:00
|
|
|
}
|
|
|
|
|
2022-06-17 17:05:49 +03:00
|
|
|
regression_test_crck_simclr:
|
2022-07-29 12:16:28 +03:00
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${CRCKSIMCLR_ARGS}\
|
2022-08-08 13:10:19 +03:00
|
|
|
${REGRESSION_TEST_ARGS} --max_epochs=200 \
|
2022-07-18 15:40:47 +03:00
|
|
|
--regression_test_folder=hi-ml-cpath/testhisto/RegressionTestResults/CRCK_SimCLR/\
|
2022-06-17 17:05:49 +03:00
|
|
|
CRCK_SimCLR_1653673515_42d53d78 --regression_test_csv_tolerance=0.5 \
|
2022-06-06 16:25:12 +03:00
|
|
|
--regression_metrics=ssl_online_evaluator/val/AreaUnderRocCurve,\
|
2022-07-29 12:16:28 +03:00
|
|
|
ssl_online_evaluator/val/AreaUnderPRCurve,ssl_online_evaluator/val/AccuracyAtThreshold05;\
|
2022-06-06 16:25:12 +03:00
|
|
|
}
|
|
|
|
|
2022-06-17 17:05:49 +03:00
|
|
|
regression tests: regression_test_tilespandaimagenetmil regression_test_slidespandaimagenetmil regression_test_tcgacrcksslmil regression_test_crck_simclr
|
|
|
|
|
|
|
|
# Smoke tests (smaller tests that run end to end to check integration)
|
2022-07-29 12:16:28 +03:00
|
|
|
define DEFAULT_SMOKE_TEST_ARGS
|
2022-07-19 19:29:28 +03:00
|
|
|
--pl_limit_train_batches=2 --pl_limit_val_batches=2 --pl_limit_test_batches=2 \
|
2022-07-29 12:16:28 +03:00
|
|
|
--max_epochs=2
|
|
|
|
endef
|
|
|
|
|
|
|
|
define AML_ONE_DEVICE_ARGS
|
2022-11-28 17:26:24 +03:00
|
|
|
--cluster=testing-nc6 --wait_for_completion --num_nodes=1 --max_num_gpus=1 --strictly_aml_v1=True --max_run_duration=1h
|
2022-07-29 12:16:28 +03:00
|
|
|
endef
|
|
|
|
|
2022-08-08 13:10:19 +03:00
|
|
|
define AML_MULTIPLE_DEVICE_ARGS
|
2022-11-28 17:26:24 +03:00
|
|
|
--cluster=dedicated-nc24s-v2 --wait_for_completion --strictly_aml_v1=True --max_run_duration=1h
|
2022-08-08 13:10:19 +03:00
|
|
|
endef
|
|
|
|
|
2022-08-23 13:49:24 +03:00
|
|
|
define DEEPSMILEDEFAULT_SMOKE_TEST_ARGS
|
2022-07-29 12:16:28 +03:00
|
|
|
--crossval_count=0 --num_top_slides=2 --num_top_tiles=2 --max_bag_size=3 \
|
|
|
|
--max_bag_size_inf=3
|
|
|
|
endef
|
|
|
|
|
|
|
|
define TCGACRCKSSLMIL_SMOKE_TEST_ARGS
|
|
|
|
--crossval_count=1 --max_bag_size=3 --max_bag_size_inf=3
|
|
|
|
endef
|
|
|
|
|
|
|
|
define CRCKSIMCLR_SMOKE_TEST_ARGS
|
|
|
|
--is_debug_model=True --num_workers=0
|
2022-07-19 19:29:28 +03:00
|
|
|
endef
|
|
|
|
|
2022-08-15 18:22:27 +03:00
|
|
|
define CRCK_TUNING_ARGS
|
|
|
|
--tune_encoder=False --tune_pooling=True --tune_classifier=True --pretrained_encoder=True \
|
|
|
|
--pretrained_pooling=True --pretrained_classifier=True --src_checkpoint=${SRC_CKPT_RUN_ID_CRCK}
|
|
|
|
endef
|
|
|
|
|
2022-10-05 15:00:39 +03:00
|
|
|
define LOSS_ANALYSIS_ARGS
|
|
|
|
--analyse_loss=True --loss_analysis_patience=0 --loss_analysis_epochs_interval=1 \
|
|
|
|
--num_slides_scatter=2 --num_slides_heatmap=2 --save_tile_ids=True
|
|
|
|
endef
|
|
|
|
|
2022-11-11 16:12:07 +03:00
|
|
|
define DDP_SAMPLER_ARGS
|
|
|
|
--pl_replace_sampler_ddp=False
|
|
|
|
endef
|
|
|
|
|
2022-11-23 01:51:34 +03:00
|
|
|
define OPENSLIDE_BACKEND_ARGS
|
|
|
|
--backend=OpenSlide
|
|
|
|
endef
|
|
|
|
|
2022-07-19 19:29:28 +03:00
|
|
|
# The following test takes around 5 minutes
|
2022-11-23 01:51:34 +03:00
|
|
|
smoke_test_cucim_slidespandaimagenetmil_local:
|
2022-07-29 12:16:28 +03:00
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${DEEPSMILEPANDASLIDES_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
2022-08-23 13:49:24 +03:00
|
|
|
${DEEPSMILEDEFAULT_SMOKE_TEST_ARGS};}
|
2022-07-19 19:29:28 +03:00
|
|
|
|
|
|
|
# Once running in AML the following test takes around 6 minutes
|
2022-11-23 01:51:34 +03:00
|
|
|
smoke_test_cucim_slidespandaimagenetmil_aml:
|
2022-07-29 12:16:28 +03:00
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${DEEPSMILEPANDASLIDES_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
2022-11-28 17:26:24 +03:00
|
|
|
${DEEPSMILEDEFAULT_SMOKE_TEST_ARGS} ${AML_MULTIPLE_DEVICE_ARGS} --tag smoke_test_cucim_slidespandaimagenetmil_aml;}
|
2022-06-17 17:05:49 +03:00
|
|
|
|
2022-11-23 01:51:34 +03:00
|
|
|
smoke_test_openslide_slidespandaimagenetmil_local:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${DEEPSMILEPANDASLIDES_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
|
|
|
${DEEPSMILEDEFAULT_SMOKE_TEST_ARGS} ${OPENSLIDE_BACKEND_ARGS};}
|
|
|
|
|
|
|
|
smoke_test_openslide_slidespandaimagenetmil_aml:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${DEEPSMILEPANDASLIDES_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
2022-11-28 17:26:24 +03:00
|
|
|
${DEEPSMILEDEFAULT_SMOKE_TEST_ARGS} ${OPENSLIDE_BACKEND_ARGS} ${AML_MULTIPLE_DEVICE_ARGS} --tag smoke_test_openslide_slidespandaimagenetmil_aml;}
|
2022-11-23 01:51:34 +03:00
|
|
|
|
2022-06-17 17:05:49 +03:00
|
|
|
# The following test takes about 6 minutes
|
2022-07-29 12:16:28 +03:00
|
|
|
smoke_test_tilespandaimagenetmil_local:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${DEEPSMILEPANDATILES_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
2022-08-23 13:49:24 +03:00
|
|
|
${DEEPSMILEDEFAULT_SMOKE_TEST_ARGS};}
|
2022-07-29 12:16:28 +03:00
|
|
|
|
|
|
|
smoke_test_tilespandaimagenetmil_aml:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${DEEPSMILEPANDATILES_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
2022-11-28 17:26:24 +03:00
|
|
|
${DEEPSMILEDEFAULT_SMOKE_TEST_ARGS} ${AML_MULTIPLE_DEVICE_ARGS} --tag smoke_test_tilespandaimagenetmil_aml;}
|
2022-06-17 17:05:49 +03:00
|
|
|
|
|
|
|
# The following test takes about 30 seconds
|
2022-07-29 12:16:28 +03:00
|
|
|
smoke_test_tcgacrcksslmil_local:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${TCGACRCKSSLMIL_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
|
|
|
${TCGACRCKSSLMIL_SMOKE_TEST_ARGS};}
|
|
|
|
|
|
|
|
smoke_test_tcgacrcksslmil_aml:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${TCGACRCKSSLMIL_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
2022-11-28 17:26:24 +03:00
|
|
|
${TCGACRCKSSLMIL_SMOKE_TEST_ARGS} ${AML_MULTIPLE_DEVICE_ARGS} --tag smoke_test_tcgacrcksslmil_aml;}
|
2022-06-17 17:05:49 +03:00
|
|
|
|
2022-08-23 13:49:24 +03:00
|
|
|
smoke_test_tcgacrckimagenetmil_local:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${TCGACRCKIMANEGETMIL_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
|
|
|
${DEEPSMILEDEFAULT_SMOKE_TEST_ARGS};}
|
|
|
|
|
|
|
|
smoke_test_tcgacrckimagenetmil_aml:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${TCGACRCKIMANEGETMIL_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
2022-11-28 17:26:24 +03:00
|
|
|
${DEEPSMILEDEFAULT_SMOKE_TEST_ARGS} ${AML_MULTIPLE_DEVICE_ARGS} --tag smoke_test_tcgacrckimagenetmil_aml;}
|
2022-08-23 13:49:24 +03:00
|
|
|
|
2022-06-17 17:05:49 +03:00
|
|
|
# The following test takes about 3 minutes
|
2022-07-29 12:16:28 +03:00
|
|
|
smoke_test_crck_simclr_local:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${CRCKSIMCLR_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
|
|
|
${CRCKSIMCLR_SMOKE_TEST_ARGS};}
|
|
|
|
|
|
|
|
smoke_test_crck_simclr_aml:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${CRCKSIMCLR_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
2022-11-28 17:26:24 +03:00
|
|
|
${CRCKSIMCLR_SMOKE_TEST_ARGS} ${AML_MULTIPLE_DEVICE_ARGS} --tag smoke_test_crck_simclr_aml;}
|
2022-07-29 12:16:28 +03:00
|
|
|
|
2022-08-15 18:22:27 +03:00
|
|
|
smoke_test_crck_flexible_finetuning_local:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${TCGACRCKSSLMIL_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
|
|
|
${TCGACRCKSSLMIL_SMOKE_TEST_ARGS} ${CRCK_TUNING_ARGS};}
|
|
|
|
|
|
|
|
smoke_test_crck_flexible_finetuning_aml:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${TCGACRCKSSLMIL_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
2022-11-28 17:26:24 +03:00
|
|
|
${TCGACRCKSSLMIL_SMOKE_TEST_ARGS} ${AML_MULTIPLE_DEVICE_ARGS} ${CRCK_TUNING_ARGS} --tag smoke_test_crck_flexible_finetuning_aml;}
|
2022-08-15 18:22:27 +03:00
|
|
|
|
2022-10-05 15:00:39 +03:00
|
|
|
smoke_test_crck_loss_analysis_local:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${TCGACRCKSSLMIL_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
|
|
|
${TCGACRCKSSLMIL_SMOKE_TEST_ARGS} ${LOSS_ANALYSIS_ARGS};}
|
|
|
|
|
|
|
|
smoke_test_crck_loss_analysis_aml:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${TCGACRCKSSLMIL_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
2022-11-28 17:26:24 +03:00
|
|
|
${TCGACRCKSSLMIL_SMOKE_TEST_ARGS} ${AML_MULTIPLE_DEVICE_ARGS} ${LOSS_ANALYSIS_ARGS} --tag smoke_test_crck_loss_analysis_aml;}
|
2022-10-05 15:00:39 +03:00
|
|
|
|
2022-10-25 14:59:17 +03:00
|
|
|
smoke_test_slides_panda_loss_analysis_local:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${DEEPSMILEPANDASLIDES_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
|
|
|
${DEEPSMILEDEFAULT_SMOKE_TEST_ARGS} ${LOSS_ANALYSIS_ARGS};}
|
|
|
|
|
|
|
|
smoke_test_slides_panda_loss_analysis_aml:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${DEEPSMILEPANDASLIDES_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
2022-11-28 17:26:24 +03:00
|
|
|
${DEEPSMILEDEFAULT_SMOKE_TEST_ARGS} ${LOSS_ANALYSIS_ARGS} ${AML_MULTIPLE_DEVICE_ARGS} --tag smoke_test_slides_panda_loss_analysis_aml;}
|
2022-10-25 14:59:17 +03:00
|
|
|
|
2022-11-11 16:12:07 +03:00
|
|
|
smoke_test_slides_panda_no_ddp_sampler_local:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${DEEPSMILEPANDASLIDES_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
|
|
|
${DEEPSMILEDEFAULT_SMOKE_TEST_ARGS} ${DDP_SAMPLER_ARGS};}
|
|
|
|
|
|
|
|
smoke_test_slides_panda_no_ddp_sampler_aml:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${DEEPSMILEPANDASLIDES_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
2022-11-28 17:26:24 +03:00
|
|
|
${DEEPSMILEDEFAULT_SMOKE_TEST_ARGS} ${DDP_SAMPLER_ARGS} ${AML_MULTIPLE_DEVICE_ARGS} --tag smoke_test_slides_panda_no_ddp_sampler_aml;}
|
2022-11-11 16:12:07 +03:00
|
|
|
|
|
|
|
smoke_test_tiles_panda_no_ddp_sampler_local:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${DEEPSMILEPANDATILES_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
|
|
|
${DEEPSMILEDEFAULT_SMOKE_TEST_ARGS} ${DDP_SAMPLER_ARGS};}
|
|
|
|
|
|
|
|
smoke_test_tiles_panda_no_ddp_sampler_aml:
|
|
|
|
{ ${BASE_CPATH_RUNNER_COMMAND} ${DEEPSMILEPANDATILES_ARGS} ${DEFAULT_SMOKE_TEST_ARGS} \
|
2022-11-28 17:26:24 +03:00
|
|
|
${DEEPSMILEDEFAULT_SMOKE_TEST_ARGS} ${DDP_SAMPLER_ARGS} ${AML_MULTIPLE_DEVICE_ARGS} --tag smoke_test_tiles_panda_no_ddp_sampler_aml;}
|
2022-11-11 16:12:07 +03:00
|
|
|
|
2022-11-23 01:51:34 +03:00
|
|
|
smoke tests local: smoke_test_cucim_slidespandaimagenetmil_local smoke_test_openslide_slidespandaimagenetmil_local smoke_test_tilespandaimagenetmil_local smoke_test_tcgacrcksslmil_local smoke_test_crck_simclr_local smoke_test_crck_flexible_finetuning_local smoke_test_tcgacrckimagenetmil_local smoke_test_crck_loss_analysis_local smoke_test_slides_panda_loss_analysis_local smoke_test_slides_panda_no_ddp_sampler_local smoke_test_tiles_panda_no_ddp_sampler_local
|
2022-06-17 17:05:49 +03:00
|
|
|
|
2022-11-23 01:51:34 +03:00
|
|
|
smoke tests AML: smoke_test_cucim_slidespandaimagenetmil_aml smoke_test_openslide_slidespandaimagenetmil_aml smoke_test_tilespandaimagenetmil_aml smoke_test_tcgacrcksslmil_aml smoke_test_crck_simclr_aml smoke_test_crck_flexible_finetuning_aml smoke_test_tcgacrckimagenetmil_aml smoke_test_crck_loss_analysis_aml smoke_test_slides_panda_loss_analysis_aml smoke_test_slides_panda_no_ddp_sampler_aml smoke_test_tiles_panda_no_ddp_sampler_aml
|