You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After linking the .so, run this client command resulted with an extra backtick or misc characters getting added to file name after converting from ASCII to EBCIDIC.
client/bin/modelzoo --lib mnist-8-with-binary.so --file mnist-8.tests --validate -m VERBOSE --fc-parms 0.01,0.158752,9,10
Saved mnist-8-with-binary.so for debug testing with C clients
Created mnist-8-with-binary.jar for Java clients
Iteration 0 dataset 0: Reading
gen_data_set_lists() loading 1 input tensor(s):
gen_next_tensor() processing tensor with shape ( 1 1 28 28 ) totaling 784 elements of type ONNX_TYPE_FLOAT
gen_data_set_lists() loading 1 expected output tensor(s):
gen_next_tensor() processing tensor with shape ( 1 10 ) totaling 10 elements of type ONNX_TYPE_FLOAT
Iteration 0 dataset 0: Running
Error while opening mnist-8.constants.bin`
Error while opening mnist-8.constants.bin�K������k�K������k`��K�����`
void omMMapBinaryFile(
void **constAddr, char *filename, int64_t size, int64_t isLE) {
checkEndianness(isLE);
char *fname = filename;
#ifdef __MVS__
// Convert the file name to EBCDIC for the open call.
char *tPath;
size_t tLen = strlen(fname);
tPath = (char *)malloc(tLen);
if (!tPath) {
fprintf(stderr, "Error while malloc");
return;
}
memcpy(tPath, fname, tLen);
__a2e_s(tPath);
fname = tPath;
//fname[tLen] = '\0'; ---------------------------------------------------> possible fix.
#endif
The text was updated successfully, but these errors were encountered:
After linking the .so, run this client command resulted with an extra backtick or misc characters getting added to file name after converting from ASCII to EBCIDIC.
The text was updated successfully, but these errors were encountered: