Comments (2)
the above error msg i am getting when I am using default options for train.py.
if I change the "--z_dim" == 256, I am getting the following error,
/home/naveen/anaconda3/lib/python3.7/site-packages/dask/config.py:168: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
data = yaml.load(f.read()) or {}
WARNING:tensorflow:From /home/naveen/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/ops/resource_variable_ops.py:1630: calling BaseResourceVariable.init (from tensorflow.python.ops.resource_variable_ops) with constraint is deprecated and will be removed in a future version.
Instructions for updating:
If using Keras pass *_constraint arguments to layers.
(64, 256)
Traceback (most recent call last):
File "/home/naveen/eclipse-workspace/text-to-image-master/train.py", line 238, in
main()
File "/home/naveen/eclipse-workspace/text-to-image-master/train.py", line 76, in main
input_tensors, variables, loss, outputs, checks = gan.build_model()
File "/home/naveen/eclipse-workspace/text-to-image-master/model.py", line 39, in build_model
fake_image = self.generator(t_z, t_real_caption)
File "/home/naveen/eclipse-workspace/text-to-image-master/model.py", line 141, in generator
z_concat = tf.concat(1, [t_z, reduced_text_embedding])
File "/home/naveen/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/util/dispatch.py", line 180, in wrapper
return target(*args, **kwargs)
File "/home/naveen/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/ops/array_ops.py", line 1427, in concat
ops.convert_to_tensor(axis, name="concat_dim",dtype=dtypes.int32).get_shape().assert_has_rank(0)
File "/home/naveen/anaconda3/lib/python3.7/site-packages/tensorflow_core/python/framework/tensor_shape.py", line 995, in assert_has_rank
raise ValueError("Shape %s must have rank %d" % (self, rank))
ValueError: Shape (2, 64, 256) must have rank 0.
I request your help in this regard....
from text-to-image.
I meet the same question, can somebody else fix this question
from text-to-image.
Related Issues (20)
- Tensorflow error HOT 1
- Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint. HOT 5
- Same error while generating as well as training HOT 3
- From merging shape 0 with other shapes. for 'h3_concat/concat_dim' (op: 'Pack') with input shapes: [8,4,4,512], [8,4,4,256]. HOT 4
- Pretrained Model HOT 1
- Model wasn't saved corre
- TF error reuirements
- No such file or directory: 'Data/meta_train.pkl'
- data_loader.py
- generate_thought_vectors.py HOT 2
- ValueError: Tensor("moments/moments_1/mean:0", shape=(512,), dtype=float32) must be from the same graph as Tensor("g_bn0/g_bn0/moments/moments_1/mean/ExponentialMovingAverage:0", shape=(512,), dtype=float32_ref).
- No such file or directory: 'Data/skipthoughts/uni_skip.npz.pkl' HOT 1
- pickle error HOT 9
- Data Loader HOT 1
- generating images error HOT 1
- DataLossError (see above for traceback): Unable to open table file Data\Models: Unknown: NewRandomAccessFile failed to Create/Open: Data\Models : Access is denied.
- Did you mean to set reuse=tf.AUTO_REUSE in VarScope?
- Erorr for bi_skip.npz and uni_skip.npz => BadZipFile: File is not a zip file HOT 2
- how much time does dataloader.py take
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from text-to-image.