Closed loostrum closed 2 weeks ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
@loostrum if all models are downloaded from Zenood now, why to keep the models
folder? Or at least to remove the non-needed files?
A downloader utility was added, which contains an overview of all data files we use, hosted on either Github or Zenodo. With the
dianna.utils.downloader.download
function, one can download and use any of these files. The files are downloaded to an OS cache directory by default, and the checksums are verified so any changes in the online files are detected.The tutorials were updated to use this functionality.
While rerunning the notebooks I noticed the colormaps were mostly wrong (default viridis instead of bwr). This is due to https://github.com/dianna-ai/dianna/pull/776, where the colormaps were removed from the notebooks, but the defaults were not set in the dianna code for all modalities (only in the dashboard it seems). In this PR I added the bwr default to the visualization module where not already present.