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
I've customized my own dataset and I'm getting errors loading mean.npz and stdev.npz when running main.py. I found out that the type of the loaded data was numpy.lib.npyio.NpzFile. The mean and stdev files downloaded from Google drive seem to be actually .npy format, so the problem does not occur. write_data_to_pkl.py saves them by np.savez, so for example it seems that the load side can support both formats if you do as follows:
Yes, The mean and stdev files are actually .npy format. I rename the npy to npz to avoid modifying `main.py'.
For English fonts, it is suggested to use the mean and stddev files we provided.
If you use the mean and stddev files calculated from your own data, you need to retrain the neural rasterizer.
If you have any questions, please do not hesitate to contact me.👍
I've customized my own dataset and I'm getting errors loading
mean.npz
andstdev.npz
when running main.py. I found out that the type of the loaded data wasnumpy.lib.npyio.NpzFile
. The mean and stdev files downloaded from Google drive seem to be actually.npy
format, so the problem does not occur.write_data_to_pkl.py
saves them bynp.savez
, so for example it seems that the load side can support both formats if you do as follows:The text was updated successfully, but these errors were encountered: