dehoyosb/temporal_fusion_transformer_pytorch

'TemporalFusionTransformer' object has no attribute 'load_from_metrics'

ZongKe-ZJUT opened this issue · 0 comments

Hello, I meet this problem when I run training_tft.ipynb
AttributeError: 'TemporalFusionTransformer' object has no attribute 'load_from_metrics'
“”“
model = tft.load_from_metrics(
weights_path='lightning_logs/version_18/checkpoints/epoch=6.ckpt',
tags_csv='lightning_logs/version_18/meta_tags.csv',
#on_gpu=True,
map_location=None
)
”“”
but i didn't find this function-tft.load_from_metrics(),Could you give the source code of this function?thanks