HFAiLab / OpenCastKit

The open-source solutions of FourCastNet and GraphCast
MIT License
297 stars 74 forks source link

AttributeError: module 'hfai' has no attribute 'set_watchdog_time' #6

Open lk1983823 opened 1 year ago

lk1983823 commented 1 year ago

runing " python train_fourcastnet.py --pretrain-epochs 100 --fintune-epochs 40 --batch-size 4" shows the error below:

Traceback (most recent call last):
  File "train_fourcastnet.py", line 2, in <module>
    hfai.set_watchdog_time(21600)
AttributeError: module 'hfai' has no attribute 'set_watchdog_time'
VachelHU commented 1 year ago

The API has been changed to hfai.client.set_watchdog_time