unitable icon indicating copy to clipboard operation
unitable copied to clipboard

How to load the fine-tuned model for inference?

Open vvvvvair opened this issue 1 year ago • 2 comments

Thank you for your excellent work. I followed the fine-tuning instructions you provided: make experiments/ssp_2m_mini_bbox_base/.done_finetune to train my custom dataset. However, I encountered difficulties when trying to load the fine-tuned model for inference. Firstly, this command should have trained a base model. Therefore, I modified the parameters based on the Jupyter pipeline inference process.

企业微信截图_17238674066348

Unfortunately, I encountered an error during loading. image

I noticed that the file sizes of unitable_large_content.pt and ssp_2m_large.pt are significantly different, indicating that ssp_2m_large.pt or ssp_2m_base.pt may not be suitable for loading using the provided pipeline method.

Could you please provide a guide on how to load the fine-tuned model for inference? I am looking forward to your reply. Thank you very much!

vvvvvair avatar Aug 17 '24 04:08 vvvvvair

Thank you for your excellent work. I followed the fine-tuning instructions you provided: make experiments/ssp_2m_mini_bbox_base/.done_finetune to train my custom dataset. However, I encountered difficulties when trying to load the fine-tuned model for inference. Firstly, this command should have trained a base model. Therefore, I modified the parameters based on the Jupyter pipeline inference process.

企业微信截图_17238674066348

Unfortunately, I encountered an error during loading. image

I noticed that the file sizes of unitable_large_content.pt and ssp_2m_large.pt are significantly different, indicating that ssp_2m_large.pt or ssp_2m_base.pt may not be suitable for loading using the provided pipeline method.

Could you please provide a guide on how to load the fine-tuned model for inference? I am looking forward to your reply. Thank you very much!

I had the same error. Anyone solved?

savi8sant8s avatar Jan 22 '25 11:01 savi8sant8s

Thank you for your excellent work. I followed the fine-tuning instructions you provided: make experiments/ssp_2m_mini_bbox_base/.done_finetune to train my custom dataset. However, I encountered difficulties when trying to load the fine-tuned model for inference. Firstly, this command should have trained a base model. Therefore, I modified the parameters based on the Jupyter pipeline inference process.

企业微信截图_17238674066348

Unfortunately, I encountered an error during loading. image

I noticed that the file sizes of unitable_large_content.pt and ssp_2m_large.pt are significantly different, indicating that ssp_2m_large.pt or ssp_2m_base.pt may not be suitable for loading using the provided pipeline method.

Could you please provide a guide on how to load the fine-tuned model for inference? I am looking forward to your reply. Thank you very much!

Hello, may I ask you how you perform model inference and which script you use for it?

holyfisher avatar Jul 28 '25 11:07 holyfisher