We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
heronの今後の修正事項として、zero3の時にモデルの初期値として学習済みモデルを読み込む場合、
load_pretrained_weight(model, model_config["pretrained_path"])
の部分がエラーとなってしまう。load_modelの部分を以下のようにfrom_pretrainedを使って学習済みモデルから読み込むように変更する必要ありそうです。
model = VideoBlipForConditionalGeneration.from_pretrained( model_config["pretrained_path"], torch_dtype=torch.float16, ignore_mismatched_sizes=True )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
heronの今後の修正事項として、zero3の時にモデルの初期値として学習済みモデルを読み込む場合、
の部分がエラーとなってしまう。load_modelの部分を以下のようにfrom_pretrainedを使って学習済みモデルから読み込むように変更する必要ありそうです。
The text was updated successfully, but these errors were encountered: