Skip to content

Commit

Permalink
Histology classification tested
Browse files Browse the repository at this point in the history
  • Loading branch information
szmazurek committed Jan 10, 2025
1 parent 3ef7dcf commit 76ed896
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testing/test_lightning_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,6 @@ def test_port_model_inference_classification_histology_2d(device):
parameters["model"]["dimension"] = 2
# read and parse csv
training_data, parameters["headers"] = parseTrainingCSV(file_for_Training)
print(f"HEADERS: {parameters['headers']}")
parameters["model"]["num_channels"] = 3
parameters["model"]["architecture"] = "densenet121"
parameters["model"]["norm_type"] = "none"
Expand Down Expand Up @@ -817,4 +816,6 @@ def test_port_model_inference_classification_histology_2d(device):
num_sanity_val_steps=0,
)
trainer.fit(module, train_dataloader, val_dataloader)
# trainer.test(module, test_dataloader)
trainer.test(module, test_dataloader)

trainer.predict(module, test_dataloader)

1 comment on commit 76ed896

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@check-spelling-bot Report

🔴 Please review

See the 📜action log or 📝 job summary for details.

Unrecognized words (7)

angi
disbled
hisopathology
indded
sikt
somewhow
unpredicatably

These words are not needed and should be removed allgather skipif Stdnet

Some files were automatically ignored 🙈

These sample patterns would exclude them:

[^/]\.png$
^\Q.gitattributes\E$
^\Q.spelling/.spelling/expect.txt\E$
^\Q__init__.py\E$
^\QGANDLF/data/patch_miner/__init__.py\E$
^\QGANDLF/data/patch_miner/opm/__init__.py\E$
^\QGANDLF/grad_clipping/__init__.py\E$
^\QGANDLF/models/seg_modules/__init__.py\E$
^\QGANDLF/privacy/__init__.py\E$
^\Qtesting/__init__.py\E$
^\Qtutorials/classification_medmnist_notebook/tutorial.ipynb\E$
^samples/images_opm/
^tutorials/classification_medmnist_notebook/medmnist/dataset/

You should consider excluding directory paths (e.g. (?:^|/)vendor/), filenames (e.g. (?:^|/)yarn\.lock$), or file extensions (e.g. \.gz$)

You should consider adding them to:

.github/actions/spelling/excludes.txt

File matching is via Perl regular expressions.

To check these files, more of their words need to be in the dictionary than not. You can use patterns.txt to exclude portions, add items to the dictionary (e.g. by adding them to allow.txt), or fix typos.

To accept these unrecognized words as correct, update file exclusions, and remove the previously acknowledged and now absent words, you could run the following commands

... in a clone of the [email protected]:szmazurek/GaNDLF.git repository
on the inference_pass branch (ℹ️ how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/main/apply.pl' |
perl - 'https://github.com/szmazurek/GaNDLF/actions/runs/12717689508/attempts/1'
Available 📚 dictionaries could cover words not in the 📘 dictionary
Dictionary Entries Covers Uniquely
cspell:java/src/java-terms.txt 920 2 2

Consider adding them (in .github/workflows/spellchecker.yml) in jobs:/spelling: for uses: check-spelling/check-spelling@main in its with:

      with:
        extra_dictionaries: |
          cspell:java/src/java-terms.txt

To stop checking additional dictionaries, add (in .github/workflows/spellchecker.yml) for uses: check-spelling/check-spelling@main in its with:

check_extra_dictionaries: ''
Warnings (3)

See the 📜action log or 📝 job summary for details.

⚠️ Warnings Count
⚠️ binary-file 19
⚠️ large-file 2
⚠️ noisy-file 2

See ⚠️ Event descriptions for more information.

Please sign in to comment.