# ImageWoof ããŒã¿ã»ãã

## äœ¿çšæ¹æ³

åè»ã®äŸ

``````from ultralytics import YOLO

model = YOLO("yolov8n-cls.pt")  # load a pretrained model (recommended for training)

# Train the model
results = model.train(data="imagewoof", epochs=100, imgsz=224)
``````
``````# Start training from a pretrained *.pt model
yolo classify train data=imagewoof model=yolov8n-cls.pt epochs=100 imgsz=224
``````

## ããŒã¿ã»ãã ããªã¢ã³ã

ãããã®å€çš®ããã¬ãŒãã³ã°ã«äœ¿ãã«ã¯ãããŒã¿ã»ããåŒæ°ã® 'imagewoof' ã 'imagewoof320' ãŸãã¯ 'imagewoof160' ã«çœ®ãæããã ãã§ããäŸãã°

äŸ

``````from ultralytics import YOLO

model = YOLO("yolov8n-cls.pt")  # load a pretrained model (recommended for training)

# For medium-sized dataset
model.train(data="imagewoof320", epochs=100, imgsz=224)

# For small-sized dataset
model.train(data="imagewoof160", epochs=100, imgsz=224)
``````
``````# Load a pretrained model and train on the small-sized dataset
yolo classify train model=yolov8n-cls.pt data=imagewoof320 epochs=100 imgsz=224
``````

## ãµã³ãã«ç»åãšæ³šé

ãã®äŸã§ã¯ãImageWoofããŒã¿ã»ããã«å«ãŸããããŸããŸãªç¬çš®éã®åŸ®åŠãªéããšé¡äŒŒç¹ãç€ºãããŠãããåé¡ã¿ã¹ã¯ã®è€éããšé£ãããåŒ·èª¿ãããŠããã

## åŒçšãšè¬èŸ

ImageWoofããŒã¿ã»ãããç ç©¶ãŸãã¯éçºã§äœ¿çšããå Žåã¯ãå¿ãå¬åŒããŒã¿ã»ãããªããžããªã«ãªã³ã¯ããããŒã¿ã»ããã®äœæèã«è¬èŸãè¿°ã¹ãŠãã ããã

## ãããããè³ªå

### Ultralytics ãImageWoofããŒã¿ã»ãããšã¯ïŒ

åè»ã®äŸ

``````from ultralytics import YOLO

model = YOLO("yolov8n-cls.pt")  # Load a pretrained model
results = model.train(data="imagewoof", epochs=100, imgsz=224)
``````
``````yolo classify train data=imagewoof model=yolov8n-cls.pt epochs=100 imgsz=224
``````

ImageWoofããŒã¿ã»ããã«ã¯3ã€ã®ãµã€ãºãããïŒ