You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The training code of this model seems to call YOLO for training. Shouldn't the trained model be a YOLOv8n-seg type model, rather than a FastSAM type model?
see this
from ultralytics import YOLO
model = YOLO(model="yolov8x-seg.yaml",
)
model.train(data="sa.yaml",
epochs=100,
batch=32,
imgsz=1024,
overlap_mask=False,
save=True,
save_period=5,
device='0,1,2,3,4,5,6,7',
project='fastsam',
name='test',
val=False,)
can someone kick me down some xrp please for the answer. lol...
Short answer: yes, your intuition is right — the weights produced by that code are technically YOLOv8-Seg weights, not a “pure” FastSAM architecture.
But that’s intentional, and it’s how FastSAM is implemented.
Activity
harshnandwana commentedon Jul 7, 2025
no that is correct as it requires yaml file where as your understanding is because of the folder structure having pt
240190701amber-max commentedon Feb 2, 2026
same question.
Armadillooutfitter commentedon Feb 4, 2026
can someone kick me down some xrp please for the answer. lol...
Short answer: yes, your intuition is right — the weights produced by that code are technically YOLOv8-Seg weights, not a “pure” FastSAM architecture.
But that’s intentional, and it’s how FastSAM is implemented.