Closed ssotobayashi-m closed 2 years ago
I'm sorry. I overlooked the correction: https://github.com/yizhiwang96/deepvecfont/commit/764ab68f96479c27740f837abb31365baa5b7d1b
So, I close this issue.
I'm sorry. I overlooked the correction: 764ab68
So, I close this issue.
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: