Session.LoadFromSavedModel fails to load from path with unicode characters
Hello all,
we have some trouble loading a "savedmodel" from a path like this:
C:\ProgramData\test\Bördel\Iterations\2021-03-26_08-40-53_6977\savedmodel
Notice the special character ö.
I load the model with this call:
_session = Session.LoadFromSavedModel(path);
This error occurs in the debug console log:
2021-03-26 08:50:41.083893: I tensorflow/cc/saved_model/reader.cc:31] Reading SavedModel from: C:\ProgramData\Test\B÷rdel\Iterations\2021-03-26_08-40-53_6977\savedmodel 2021-03-26 08:50:41.084299: I tensorflow/cc/saved_model/loader.cc:319] SavedModel load for tags { serve }; Status: fail: Not found: Could not find SavedModel .pb or .pbtxt at supplied export directory path: C:\ProgramData\Test\B÷rdel\Iterations\2021-03-26_08-40-53_6977\savedmodel. Took 394 microseconds.
If I remove the character "ö" from the path, then it works fine. This happens only on Windows, on Linux it works great.
Is there any way to allow unicode characters in the path? Maybe you would need to provide a charset when importing the dll (DllImport)?
Thanks for the help