Skip to content
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

tf codes #76

Closed
CRISZJ opened this issue Dec 20, 2019 · 6 comments
Closed

tf codes #76

CRISZJ opened this issue Dec 20, 2019 · 6 comments

Comments

@CRISZJ
Copy link

CRISZJ commented Dec 20, 2019

When I run the dataset.py to get the tensor of tfrecords,the results of the tensor's shape is ?,and i do not konw how to solve it. like this:
Use for ... in dataset: to iterate over a dataset. If using tf.estimator, return the Dataset object directly from your input function. As a last resort, you can use tf.compat.v1.data.make_one_shot_iterator(dataset).
Tensor("octree_dataset/IteratorGetNext:0", shape=(?,), dtype=int8)
Tensor("octree_dataset/IteratorGetNext:1", shape=(?,), dtype=int64)
Tensor("octree_encoder/depth_2/octree_max_pool/OctreePad:0", shape=(1, 128, ?, 1), dtype=float32)
is that right?
when I reomove batch(batch_size) , I meet this problem:
tensorflow.python.framework.errors_impl.InvalidArgumentError: Shape must be rank 1 but is rank 0 for 'ParseExample/ParseExample' (op: 'ParseExample') with input shapes: [], [0], [], [], [0], [0].

@CRISZJ
Copy link
Author

CRISZJ commented Jan 2, 2020

Maybe because of the structure of octree, the shape of the feature is "?" ,is that right?

@iDzh
Copy link

iDzh commented Jan 13, 2020

May I ask if Tensoflow can be used in the training process?

@CRISZJ
Copy link
Author

CRISZJ commented Jan 13, 2020

May I ask if Tensoflow can be used in the training process?

I can't run the code. Did you use it ?

@wang-ps
Copy link
Contributor

wang-ps commented Jan 13, 2020

Sorry for the inconvenience. I am currently busy doing a research project, and I will release step-by-step details on how to use the tensorflow code in the several weeks. The code is ok, and I am using them in my own projects. Please be patient.

@CRISZJ
Copy link
Author

CRISZJ commented Jan 13, 2020

Sorry for the inconvenience. I am currently busy doing a research project, and I will release step-by-step details on how to use the tensorflow code in the several weeks. The code is ok, and I am using them in my own projects. Please be patient.

thanks

@wang-ps
Copy link
Contributor

wang-ps commented Mar 18, 2020

The issue should have been fixed with the latest code.

@wang-ps wang-ps closed this as completed Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants