Logo Stefano Giannini
  • Home
  • About
  • Skills
  • Experiences
  • Education
  • Posts
  • Notes
Logo Inverted Logo
  • Posts
  • Finance
    • Monte Carlo
      • Option Pricing
    • Stock Prediction
      • GRU
      • ARIMA
      • SARIMA
      • SARIMAX
  • Machine Learning
    • Deep Learning
      • Computer Vision
        • Florence-2 LVM
        • MedMNIST - P1
      • NLP
        • GPT-OSS
        • Gemma-2 + RAG
  • Physics
    • Percolation
    • Quantum Computing
      • Introduction
      • Teleportation
Hero Image
MedMNIST - ViT vs. ResNet18 vs. DINOv2 Test - Part 1

Open in: MedMNIST: Testing a Foundation Model, a Specialized CNN, and Fine-Tuning MedMNIST+ is one of the easiest ways to start serious experimentation in medical imaging because it packages 18 standardized biomedical image classification datasets into a single benchmark family and adds higher-resolution variants intended for stronger representation learning and medical foundation-model research. At the same time, the broader research direction in medical imaging has shifted toward foundation models, transfer learning, and adaptation benchmarks rather than only training narrow models from scratch, which makes MedMNIST+ a good educational bridge between beginner workflows and current SoTA research.

  • Deep Learning
  • Computer Vision
  • Machine Learning
Tuesday, November 25, 2025 | 15 minutes Read
Hero Image
Florence-2 - Vision Foundation Model - Examples

Install dependencies Type the following command to install possible needed dependencies (especially if the inference is performed on the CPU) %pip install einops flash_attn In Kaggle, transformers and torch are already installed. Otherwise you also need to install them on your local PC. Import Libraries from transformers import AutoProcessor, AutoModelForCausalLM from PIL import Image import requests import copy import torch %matplotlib inline Import the model We can choose Florence-2-large or Florence-2-large-ft (fine-tuned).

  • Deep Learning
  • Computer Vision
  • Machine Learning
Tuesday, June 25, 2024 | 5 minutes Read

Liability Notice: This website is done experimentally by me, taking inspiration from the open-source Toha-Hugo theme.


Toha Theme Logo Toha
© 2026 Copyright.
Powered by Hugo Logo