Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Transfer Learning example #118

Merged
merged 20 commits into from
Feb 26, 2024
Merged

Basic Transfer Learning example #118

merged 20 commits into from
Feb 26, 2024

Conversation

AVHopp
Copy link
Collaborator

@AVHopp AVHopp commented Feb 7, 2024

This PR introduces a basic Transfer Learning example, including the SMOKE_TEST functionality and the multi-version plotting.

This branch is currently based on the corresponding branch that implements SMOKE_TEST and multi-version plotting. ONly the last 3 commits are actually relevant.
Note that this PR also makes typos ignore .svg files, since these should definitely not be checked for typos.

@AVHopp AVHopp self-assigned this Feb 7, 2024
Copy link
Collaborator

@AdrianSosic AdrianSosic left a comment

Choose a reason for hiding this comment

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

Hi @AVHopp, @Scienfitz. I've changed the file quite drastically. Please have a look if you like it. The structure and logic remains the same but:

  • I significantly shortened text
  • Added more structuring elements (like bullets, notes)
  • Added links everywhere
  • Made the code more pythonic / condensed
  • Regrouped a few things

examples/Transfer_Learning/basic_tl.py Outdated Show resolved Hide resolved
examples/Transfer_Learning/basic_tl.py Outdated Show resolved Hide resolved
Copy link
Collaborator Author

@AVHopp AVHopp left a comment

Choose a reason for hiding this comment

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

First: Appreciate your work @AdrianSosic, especially the improvements of the code :)
But: The style of this example is now quite different from our other examples, and some parts (like the note) feel more like something that belongs to a user guide, and not an example. See my corresponding individual comments.

@AVHopp AVHopp force-pushed the docs/basic_tl_example branch from a3ac6d6 to 7ec3c31 Compare February 19, 2024 09:19
CHANGELOG.md Show resolved Hide resolved
Copy link
Collaborator

@Scienfitz Scienfitz left a comment

Choose a reason for hiding this comment

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

minor things, example is basically gucci

examples/Transfer_Learning/basic_transfer_learning.py Outdated Show resolved Hide resolved
examples/Transfer_Learning/basic_transfer_learning.py Outdated Show resolved Hide resolved
examples/Transfer_Learning/basic_transfer_learning.py Outdated Show resolved Hide resolved
examples/Transfer_Learning/basic_transfer_learning.py Outdated Show resolved Hide resolved
examples/Transfer_Learning/basic_transfer_learning.py Outdated Show resolved Hide resolved
@CLAassistant
Copy link

CLAassistant commented Feb 23, 2024

CLA assistant check
All committers have signed the CLA.

@AVHopp AVHopp force-pushed the docs/basic_tl_example branch from 31bbda8 to 860a990 Compare February 23, 2024 11:50
Copy link
Collaborator

@Scienfitz Scienfitz left a comment

Choose a reason for hiding this comment

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

thanks for sticking with this!

examples/Transfer_Learning/basic_transfer_learning.py Outdated Show resolved Hide resolved
AVHopp and others added 6 commits February 26, 2024 14:07
* Make it more pythonic
* Add missing BATCH_SIZE constant
* Improve grouping of parts that belong together
* Shorten it
* Add links
* Add structure (notes and bullets)
@AVHopp AVHopp force-pushed the docs/basic_tl_example branch from 03d89e0 to 3946812 Compare February 26, 2024 13:08
@AVHopp AVHopp merged commit c81a1e1 into main Feb 26, 2024
9 checks passed
@AVHopp AVHopp deleted the docs/basic_tl_example branch February 26, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants