temporal_fusion_transformer_pytorch icon indicating copy to clipboard operation
temporal_fusion_transformer_pytorch copied to clipboard

'TemporalFusionTransformer' object has no attribute 'load_from_metrics'

Open ZongKe-ZJUT opened this issue 3 years ago • 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

ZongKe-ZJUT avatar Nov 11 '21 12:11 ZongKe-ZJUT