-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: too many values to unpack (expected 2)in hdf5_images.py #20
Comments
Hi, my logo dataset has a slightly different format as it contains some meta information as well as the images and labels. To train with it you need to specify |
thanks a lot. I am doing the logo generator.I think your github and paper is very useful to me. I'll continue to try.there are two ways. one is to use your model. the other is retrain . but I have many errors . I will try, do it better. |
I start again. I use python2.7,tensorflow1.3.0,and the same packages.I want to restore your model to generate some logos. session = tf.Session() 2019-12-18 16:02:16.667807: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. I use cpu.not the gpu, I don't have enough memory.so I just change one code. I changed NCHW to NHWC.In fact, when I tried to train myself in the morning, I also encountered this similar problem. |
It could be possible to convert the network to NHWC and use the CPU but I've never tried. The problem is that once you change it, the checkpoint data (pretrained weights) doesn't fit the model anymore, as the data you're trying to load is still NCHW. So I guess it's not quite as straight forward... Also, you need to change the dimensions in many places in the code and it's easy to forget one. |
thanks very much, you means if I use cpu, I need to change the dimensions in many places? if I use gpu, I don't need to change the dimensions.if I retrain,should I change the dims?I think if your code fit the input 32x32,I use the LLD_logo.hdf5,I need change the dims.if I use the LLD_icon.hdf5,I can use it.I will verify it. |
1.download LLD-logo.hdf5(13GB)
2.change the path, python hdf5_images.py
3.error:
4.try a lot, it did't work.why???my hair is gone.
The text was updated successfully, but these errors were encountered: