keras-team / keras-core

A multi-backend implementation of the Keras API, with support for TensorFlow, JAX, and PyTorch.
Apache License 2.0
1.27k stars 115 forks source link

Add example to fine-tune TorchVision models using Keras #909

Closed soumik12345 closed 10 months ago

soumik12345 commented 10 months ago

This PR adds an example to fine-tune pre-trained models from TorchVision using KerasCore.

Notebook: https://colab.research.google.com/drive/14CkRocZrvGxFCn6-zOaFC_gji35nF-Fc?usp=sharing

Linked Issue: https://github.com/keras-team/keras/issues/18406

codecov[bot] commented 10 months ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (a465816) 76.82% compared to head (92a302f) 76.82%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main keras-team/keras-core#909 +/- ## ======================================= Coverage 76.82% 76.82% ======================================= Files 329 329 Lines 31427 31427 Branches 6112 6112 ======================================= Hits 24144 24144 Misses 5719 5719 Partials 1564 1564 ``` | [Flag](https://app.codecov.io/gh/keras-team/keras-core/pull/909/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keras-team) | Coverage Δ | | |---|---|---| | [keras_core](https://app.codecov.io/gh/keras-team/keras-core/pull/909/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keras-team) | `76.73% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keras-team#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.