CLIP
CLIP copied to clipboard
AttributeError: type object 'RecursiveScriptModule' has no attribute '_construct'
When I load the model, I get an error from model = torch.jit.load(opened_file, map_location=device if jit else "cpu").eval():
AttributeError: type object 'RecursiveScriptModule' has no attribute '_construct'
This error only happens when I run it on AWS. Is there a way to prevent this?