PredictiveIntelligenceLab / Physics-informed-DeepONets

270 stars 87 forks source link

Unable to cast Python instance to C++ type (compile in debug mode for details) #11

Open fate-z1 opened 1 year ago

fate-z1 commented 1 year ago

when i run PI_DeepOnet_Eikonal_circle, i get a error:Unable to cast Python instance to C++ type (compile in debug mode for details), 415 else: --> 416 return cpp_jitted_f(context, *args, **kwargs) 417 f_jitted._cpp_jitted_f = cpp_jitted_f 418

ValueError: Unable to cast Python instance to C++ type (compile in debug mode for details) How to solve this problem? Thank you