You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Upload Package for Runpod Serverless

이 폴더λ₯Ό GitHub 레포둜 μ‚¬μš©ν•˜κ±°λ‚˜ μ•„μΉ΄μ΄λΈŒλ‘œ μ—…λ‘œλ“œν•˜λ©΄ Runpod Serverlessμ—μ„œ λ°”λ‘œ μ„€μΉ˜/μ‹€ν–‰ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

포함 파일

  • start.sh: μ„€μΉ˜ + κ°€μ€‘μΉ˜ μ€€λΉ„ + FastAPI μ„œλ²„ μ‹€ν–‰
  • runpod.yaml: 포트/μ—”νŠΈλ¦¬ν¬μΈνŠΈ/μŠ€μΌ€μΌ μ„€μ •
  • requirements.txt: μ˜μ‘΄μ„±
  • api/: μ•± μ½”λ“œ 및 체크포인트 폴더(λΉ„μ–΄ μžˆμ„ 수 있음)

ν•„μš”ν•œ μΆ”κ°€ 볡사(μ€‘μš”)

ν˜„μž¬ μ›Œν¬μŠ€νŽ˜μ΄μŠ€μ˜ pet_grooming_mvp/api/μ—μ„œ μ•„λž˜ νŒŒμΌμ„ λ³΅μ‚¬ν•˜μ„Έμš”:

  • api/app.py
  • api/model.py
  • api/checkpoints/checkpoint_best.pth
  • api/checkpoints/class_names.json

볡사 ν›„ ꡬ쑰:

upload_package/
  start.sh
  runpod.yaml
  requirements.txt
  README.md
  api/
    app.py
    model.py
    checkpoints/
      checkpoint_best.pth
      class_names.json

μ™ΈλΆ€ λ‹€μš΄λ‘œλ“œ 방식(레포 κ²½λŸ‰ν™”)

κ°€μ€‘μΉ˜λ₯Ό λ ˆν¬μ— ν¬ν•¨ν•˜μ§€ μ•ŠμœΌλ €λ©΄ runpod.yaml ν™˜κ²½λ³€μˆ˜λ‘œ URL을 μ œκ³΅ν•˜μ„Έμš”.

  • MODEL_URL: 체크포인트 파일 URL
  • CLASSES_URL: 클래슀맡 파일 URL

start.shκ°€ μžλ™μœΌλ‘œ api/checkpoints/에 λ‹€μš΄λ‘œλ“œν•©λ‹ˆλ‹€.

μ‹€ν–‰ 흐름

  1. Runpodκ°€ 레포λ₯Ό 클둠
  2. start.sh μ‹€ν–‰ β†’ νŒ¨ν‚€μ§€ μ„€μΉ˜ β†’ (μ˜΅μ…˜) κ°€μ€‘μΉ˜ λ‹€μš΄λ‘œλ“œ
  3. uvicorn api.app:app --port 8000둜 μ„œλ²„ μ‹œμž‘
  4. ν—¬μŠ€: GET /health / μš”μ²­: POST /classify

팁

  • μ½œλ“œμŠ€νƒ€νŠΈ 지연을 쀄이렀면 model.pyμ—μ„œ μ•± μ‹œμž‘ μ‹œ 더미 예츑 1회 μ›Œλ°μ—…μ„ μˆ˜ν–‰ν•˜μ„Έμš”.
  • CORS/λ³΄μ•ˆμ€ μ‹€μ œ 도메인/ν‚€ κ²€μ¦μœΌλ‘œ μ œν•œν•˜μ„Έμš”.
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support