{"id":1557,"date":"2021-01-04T12:35:46","date_gmt":"2021-01-04T17:35:46","guid":{"rendered":"http:\/\/josephpcohen.com\/w\/?p=1557"},"modified":"2021-01-04T12:41:01","modified_gmt":"2021-01-04T17:41:01","slug":"torchxrayvision","status":"publish","type":"post","link":"https:\/\/josephpcohen.com\/w\/torchxrayvision\/","title":{"rendered":"TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><iframe loading=\"lazy\" title=\"TorchXRayVision: A library of chest X-ray datasets and deep learning models.\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/Rl7xz0uULGQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models.<\/p>\n<p>Motivation: While there are many publications focusing on the prediction of radiological and clinical findings from chest X-ray images much of this work is inaccessible to other researchers.<\/p>\n<ul>\n<li>In the case of researchers addressing clinical questions it is a waste of time for them to train models from scratch. To address this, TorchXRayVision provides pre-trained models which are trained on large cohorts of data and enables 1) rapid analysis of large datasets 2) feature reuse for few-shot learning.<\/li>\n<li>In the case of researchers developing algorithms it is import to robustly evaluate models using multiple external datasets. Metadata associated with each dataset can vary greatly which makes it difficult to apply methods to multiple datasets. TorchXRayVision provides access to many datasets in a uniform way so that they can be swapped out with a single line of code. These datasets can also be merged and filtered to construct specific distributional shifts for studying generalization.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/github.com\/mlmed\/torchxrayvision\">https:\/\/github.com\/mlmed\/torchxrayvision<\/a><\/p>\n<p>Joseph Paul Cohen, Joseph Viviano, Paul Morrison, Rupert Brooks, Mohammad Hashir, Hadrien Bertrand<br \/>\nTorchXRayVision: A library of chest X-ray datasets and models.<br \/>\nhttps:\/\/github.com\/mlmed\/torchxrayvision, 2020<\/p>\n<p>@article{Cohen2020xrv,<br \/>\nauthor = {Cohen, Joseph Paul and Viviano, Joseph and Morrison, Paul and Brooks, Rupert and Hashir, Mohammad and Bertrand, Hadrien},<br \/>\njournal = {https:\/\/github.com\/mlmed\/torchxrayvision},<br \/>\ntitle = {{TorchXRayVision: A library of chest X-ray datasets and models}},<br \/>\nurl = {https:\/\/github.com\/mlmed\/torchxrayvision},<br \/>\nyear = {2020}<br \/>\n}<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>&nbsp; TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models. Motivation: While there are many publications focusing on the prediction of radiological <a class=\"mh-excerpt-more\" href=\"https:\/\/josephpcohen.com\/w\/torchxrayvision\/\" title=\"TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":1561,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,19,23,18,10],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models - Joseph Paul Cohen PhD<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/josephpcohen.com\/w\/torchxrayvision\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models - Joseph Paul Cohen PhD\" \/>\n<meta property=\"og:description\" content=\"&nbsp; TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models. Motivation: While there are many publications focusing on the prediction of radiological [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/josephpcohen.com\/w\/torchxrayvision\/\" \/>\n<meta property=\"og:site_name\" content=\"Joseph Paul Cohen PhD\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-04T17:35:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-04T17:41:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/josephpcohen.com\/w\/wp-content\/uploads\/torchxrayvision-logo-banner.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1205\" \/>\n\t<meta property=\"og:image:height\" content=\"582\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Joseph Paul Cohen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Joseph Paul Cohen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/josephpcohen.com\/w\/torchxrayvision\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/josephpcohen.com\/w\/torchxrayvision\/\"},\"author\":{\"name\":\"Joseph Paul Cohen\",\"@id\":\"https:\/\/josephpcohen.com\/w\/#\/schema\/person\/e25d0d5746952220f35d182ca7aa8684\"},\"headline\":\"TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models\",\"datePublished\":\"2021-01-04T17:35:46+00:00\",\"dateModified\":\"2021-01-04T17:41:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/josephpcohen.com\/w\/torchxrayvision\/\"},\"wordCount\":264,\"publisher\":{\"@id\":\"https:\/\/josephpcohen.com\/w\/#\/schema\/person\/e25d0d5746952220f35d182ca7aa8684\"},\"articleSection\":[\"Featured\",\"Imaging\",\"Medical\",\"Projects\",\"Software\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/josephpcohen.com\/w\/torchxrayvision\/\",\"url\":\"https:\/\/josephpcohen.com\/w\/torchxrayvision\/\",\"name\":\"TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models - Joseph Paul Cohen PhD\",\"isPartOf\":{\"@id\":\"https:\/\/josephpcohen.com\/w\/#website\"},\"datePublished\":\"2021-01-04T17:35:46+00:00\",\"dateModified\":\"2021-01-04T17:41:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/josephpcohen.com\/w\/torchxrayvision\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/josephpcohen.com\/w\/torchxrayvision\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/josephpcohen.com\/w\/torchxrayvision\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/josephpcohen.com\/w\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/josephpcohen.com\/w\/#website\",\"url\":\"https:\/\/josephpcohen.com\/w\/\",\"name\":\"Joseph Paul Cohen PhD\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/josephpcohen.com\/w\/#\/schema\/person\/e25d0d5746952220f35d182ca7aa8684\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/josephpcohen.com\/w\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/josephpcohen.com\/w\/#\/schema\/person\/e25d0d5746952220f35d182ca7aa8684\",\"name\":\"Joseph Paul Cohen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/josephpcohen.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a810b57939e75247f570c9094e7bd16e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a810b57939e75247f570c9094e7bd16e?s=96&d=mm&r=g\",\"caption\":\"Joseph Paul Cohen\"},\"logo\":{\"@id\":\"https:\/\/josephpcohen.com\/w\/#\/schema\/person\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models - Joseph Paul Cohen PhD","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/josephpcohen.com\/w\/torchxrayvision\/","og_locale":"en_US","og_type":"article","og_title":"TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models - Joseph Paul Cohen PhD","og_description":"&nbsp; TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models. Motivation: While there are many publications focusing on the prediction of radiological [...]","og_url":"https:\/\/josephpcohen.com\/w\/torchxrayvision\/","og_site_name":"Joseph Paul Cohen PhD","article_published_time":"2021-01-04T17:35:46+00:00","article_modified_time":"2021-01-04T17:41:01+00:00","og_image":[{"width":1205,"height":582,"url":"https:\/\/josephpcohen.com\/w\/wp-content\/uploads\/torchxrayvision-logo-banner.png","type":"image\/png"}],"author":"Joseph Paul Cohen","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Joseph Paul Cohen","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/josephpcohen.com\/w\/torchxrayvision\/#article","isPartOf":{"@id":"https:\/\/josephpcohen.com\/w\/torchxrayvision\/"},"author":{"name":"Joseph Paul Cohen","@id":"https:\/\/josephpcohen.com\/w\/#\/schema\/person\/e25d0d5746952220f35d182ca7aa8684"},"headline":"TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models","datePublished":"2021-01-04T17:35:46+00:00","dateModified":"2021-01-04T17:41:01+00:00","mainEntityOfPage":{"@id":"https:\/\/josephpcohen.com\/w\/torchxrayvision\/"},"wordCount":264,"publisher":{"@id":"https:\/\/josephpcohen.com\/w\/#\/schema\/person\/e25d0d5746952220f35d182ca7aa8684"},"articleSection":["Featured","Imaging","Medical","Projects","Software"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/josephpcohen.com\/w\/torchxrayvision\/","url":"https:\/\/josephpcohen.com\/w\/torchxrayvision\/","name":"TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models - Joseph Paul Cohen PhD","isPartOf":{"@id":"https:\/\/josephpcohen.com\/w\/#website"},"datePublished":"2021-01-04T17:35:46+00:00","dateModified":"2021-01-04T17:41:01+00:00","breadcrumb":{"@id":"https:\/\/josephpcohen.com\/w\/torchxrayvision\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/josephpcohen.com\/w\/torchxrayvision\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/josephpcohen.com\/w\/torchxrayvision\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/josephpcohen.com\/w\/"},{"@type":"ListItem","position":2,"name":"TorchXRayVision: A library for chest X-ray datasets and models. Including pre-trained models"}]},{"@type":"WebSite","@id":"https:\/\/josephpcohen.com\/w\/#website","url":"https:\/\/josephpcohen.com\/w\/","name":"Joseph Paul Cohen PhD","description":"","publisher":{"@id":"https:\/\/josephpcohen.com\/w\/#\/schema\/person\/e25d0d5746952220f35d182ca7aa8684"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/josephpcohen.com\/w\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/josephpcohen.com\/w\/#\/schema\/person\/e25d0d5746952220f35d182ca7aa8684","name":"Joseph Paul Cohen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/josephpcohen.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a810b57939e75247f570c9094e7bd16e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a810b57939e75247f570c9094e7bd16e?s=96&d=mm&r=g","caption":"Joseph Paul Cohen"},"logo":{"@id":"https:\/\/josephpcohen.com\/w\/#\/schema\/person\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/josephpcohen.com\/w\/wp-json\/wp\/v2\/posts\/1557"}],"collection":[{"href":"https:\/\/josephpcohen.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/josephpcohen.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/josephpcohen.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/josephpcohen.com\/w\/wp-json\/wp\/v2\/comments?post=1557"}],"version-history":[{"count":4,"href":"https:\/\/josephpcohen.com\/w\/wp-json\/wp\/v2\/posts\/1557\/revisions"}],"predecessor-version":[{"id":1564,"href":"https:\/\/josephpcohen.com\/w\/wp-json\/wp\/v2\/posts\/1557\/revisions\/1564"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/josephpcohen.com\/w\/wp-json\/wp\/v2\/media\/1561"}],"wp:attachment":[{"href":"https:\/\/josephpcohen.com\/w\/wp-json\/wp\/v2\/media?parent=1557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/josephpcohen.com\/w\/wp-json\/wp\/v2\/categories?post=1557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/josephpcohen.com\/w\/wp-json\/wp\/v2\/tags?post=1557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}