-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何进行测试呢? #5
Comments
----------------- Options --------------- |
这可能是pytorch版本和模型不匹配造成的。我们使用的pytorch版本为1.9.0,您可以使用和我们一样的版本测试一下。 |
@xiaoerjason , @SantJay hello I have the exact same problem I am using PyTorch 1.9.0 but the error is exactly the same! |
@arsham-khafan , @SantJay ,@xiaoerjason, @bupt-ai-cz Can you set the netG parameter in base_options to "attention_unet_32"? The weights file provided by the author is actually for "attention_unet_32", not "resnet_9blocks". |
当我使用预训练模型进行推理的时候发生了错误:
torch.nn.modules.module.ModuleAttributeError: 'Sequential' object has no attribute 'model'
The text was updated successfully, but these errors were encountered: