CXR-CLIP This is an official Pytorch Implementation of "CXR-CLIP: Toward Large Scale Chest X-ray Language-Image Pre-training" [arxiv]Environment setupWe have experimented the implementation on the following env
Breadcrumbs cxr-clip / README.mdTop File metadata and controls Preview Code Blame 101 lines (90 loc) · 6.02 KB Raw CXR-CLIPThis is an official Pytorch Implementation of "CXR-CLIP: Toward Large Scale Chest X-ray Language-Image Pre-training" [arxiv]Environment...
import glob import logging import os import hydra from omegaconf import DictConfig, OmegaConf from cxrclip import seed_everything from cxrclip.evaluator import Evaluator log = logging.getLogger(__name__) def print_evals(evals, metric="Accuracy(Micro)", best="max"): keys = list(evals.values(...
Breadcrumbs cxr-clip /datasets / README.mdTop File metadata and controls Preview Code Blame 215 lines (159 loc) · 9.42 KB Raw This folder contains examples of processed dataset and propsed prompt (train_prompts_all.json) We resized the image ensuring that the shorter side measures 512 pixe...