HFAiLab / OpenCastKit

The open-source solutions of FourCastNet and GraphCast
MIT License
303 stars 77 forks source link

AttributeError: 'AFNONet' object has no attribute 'load' #10

Open AlexJJJChen opened 1 year ago

AlexJJJChen commented 1 year ago

Traceback (most recent call last): File "/Users/xxx/Documents/OpenCastKit/predict.py", line 10, in backbone_model.load('./weights/fourcastnet/backbone.pt') File "/opt/anaconda3/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1269, in getattr raise AttributeError("'{}' object has no attribute '{}'".format( AttributeError: 'AFNONet' object has no attribute 'load'