CASIA-IVA-Lab / FastSAM

Fast Segment Anything
GNU Affero General Public License v3.0
7.3k stars 681 forks source link

Convert FastSAM to original PyTorch format #113

Open cfgfung opened 1 year ago

cfgfung commented 1 year ago

Hi,

I have to export the FastSAM model into the original PyTorch format (torch.nn.module) for some purposes.

Is it possible to do that? I findthat there is an export() function to convert the model into .torchscript/onnx format etc., but not the original nn.module.

Thanks in advance!

ZzzTD commented 4 months ago

Excuse me, have you resolved this issue?