File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55try :
66 imp .find_module ('Losses' )
77 from Losses import *
8- except ImportError :
9- print ('No Losses module found, ignoring at your own risk' )
8+ except ImportError as e :
9+ print ('No Losses module found, ignoring at your own risk. The following error occured:' )
10+ print (e )
1011 global_loss_list = {}
1112
1213try :
1314 imp .find_module ('Layers' )
1415 from Layers import *
15- except ImportError :
16- print ('No Layers module found, ignoring at your own risk' )
16+ except ImportError as e :
17+ print ('No Layers module found, ignoring at your own risk. The following error occured:' )
18+ print (e )
1719 global_layers_list = {}
1820
1921try :
2022 imp .find_module ('Metrics' )
2123 from Metrics import *
22- except ImportError :
23- print ('No metrics module found, ignoring at your own risk' )
24+ except ImportError as e :
25+ print ('No metrics module found, ignoring at your own risk. The following error occured:' )
26+ print (e )
2427 global_metrics_list = {}
2528
2629def get_custom_objects ():
You can’t perform that action at this time.
0 commit comments