import{s as V,f as Y,n as B,o as F}from"../chunks/scheduler.85c25b89.js";import{S as J,i as K,g as o,s as l,r as R,A as N,h as d,f as a,c as r,j as z,u as G,x as L,k as x,y as Q,a as i,v as O,d as j,t as D,w as U}from"../chunks/index.c9837788.js";import{H as W,E as X}from"../chunks/EditOnGithub.b65eee75.js";function Z(C){let s,v,g,w,m,_,c,E,y,u,S="<code>timm</code> is a library containing SOTA computer vision models, layers, utilities, optimizers, schedulers, data-loaders, augmentations, and training/evaluation scripts.",$,p,q="It comes packaged with >700 pretrained models, and is designed to be flexible and easy to use.",T,f,A='Read the <a href="quickstart">quick start guide</a> to get up and running with the <code>timm</code> library. You will learn how to load, discover, and use pretrained models included in the library.',k,n,I='<div class="w-full flex flex-col space-y-4 md:space-y-0 md:grid md:grid-cols-2 md:gap-y-4 md:gap-x-5"><a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./feature_extraction"><div class="w-full text-center bg-gradient-to-br from-blue-400 to-blue-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Tutorials</div> <p class="text-gray-700">Learn the basics and become familiar with timm. Start here if you are using timm for the first time!</p></a> <a class="!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg" href="./reference/models"><div class="w-full text-center bg-gradient-to-br from-purple-400 to-purple-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed">Reference</div> <p class="text-gray-700">Technical descriptions of how timm classes and methods work.</p></a></div>',M,h,P,b,H;return m=new W({props:{title:"timm",local:"timm",headingTag:"h1"}}),h=new X({props:{source:"https://github.com/huggingface/pytorch-image-models/blob/main/hfdocs/source/index.mdx"}}),{c(){s=o("meta"),v=l(),g=o("p"),w=l(),R(m.$$.fragment),_=l(),c=o("img"),y=l(),u=o("p"),u.innerHTML=S,$=l(),p=o("p"),p.textContent=q,T=l(),f=o("p"),f.innerHTML=A,k=l(),n=o("div"),n.innerHTML=I,M=l(),R(h.$$.fragment),P=l(),b=o("p"),this.h()},l(e){const t=N("svelte-u9bgzb",document.head);s=d(t,"META",{name:!0,content:!0}),t.forEach(a),v=r(e),g=d(e,"P",{}),z(g).forEach(a),w=r(e),G(m.$$.fragment,e),_=r(e),c=d(e,"IMG",{class:!0,src:!0}),y=r(e),u=d(e,"P",{"data-svelte-h":!0}),L(u)!=="svelte-1gtdis6"&&(u.innerHTML=S),$=r(e),p=d(e,"P",{"data-svelte-h":!0}),L(p)!=="svelte-ukof3h"&&(p.textContent=q),T=r(e),f=d(e,"P",{"data-svelte-h":!0}),L(f)!=="svelte-16kmexw"&&(f.innerHTML=A),k=r(e),n=d(e,"DIV",{class:!0,"data-svelte-h":!0}),L(n)!=="svelte-emvfpb"&&(n.innerHTML=I),M=r(e),G(h.$$.fragment,e),P=r(e),b=d(e,"P",{}),z(b).forEach(a),this.h()},h(){x(s,"name","hf:doc:metadata"),x(s,"content",ee),x(c,"class","float-left !m-0 !border-0 !dark:border-0 !shadow-none !max-w-lg w-[150px]"),Y(c.src,E="https://huggingface.co/front/thumbnails/docs/timm.png")||x(c,"src",E),x(n,"class","mt-10")},m(e,t){Q(document.head,s),i(e,v,t),i(e,g,t),i(e,w,t),O(m,e,t),i(e,_,t),i(e,c,t),i(e,y,t),i(e,u,t),i(e,$,t),i(e,p,t),i(e,T,t),i(e,f,t),i(e,k,t),i(e,n,t),i(e,M,t),O(h,e,t),i(e,P,t),i(e,b,t),H=!0},p:B,i(e){H||(j(m.$$.fragment,e),j(h.$$.fragment,e),H=!0)},o(e){D(m.$$.fragment,e),D(h.$$.fragment,e),H=!1},d(e){e&&(a(v),a(g),a(w),a(_),a(c),a(y),a(u),a($),a(p),a(T),a(f),a(k),a(n),a(M),a(P),a(b)),a(s),U(m,e),U(h,e)}}}const ee='{"title":"timm","local":"timm","sections":[],"depth":1}';function te(C){return F(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class le extends J{constructor(s){super(),K(this,s,te,Z,V,{})}}export{le as component};
