OpenCastKit icon indicating copy to clipboard operation
OpenCastKit copied to clipboard

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

Open lk1983823 opened this issue 1 year ago • 1 comments

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'

lk1983823 avatar Apr 06 '23 05:04 lk1983823

The API has been changed to hfai.client.set_watchdog_time

VachelHU avatar Apr 11 '23 07:04 VachelHU