Should have a `model_type` key in its config.json

#4
by DeveloperXXX - opened

I try to initialize the baseline model as follows;
import transformers
model_name = "DionTimmer/controlnet_qrcode-control_v1p_sd15"
baseline_model = transformers.AutoModelForSequenceClassification.from_pretrained(
model_name,
return_dict=False,
torchscript=True,
).eval()

and it throws error; Should have a model_type key in its config.json

Sign up or log in to comment