-
Notifications
You must be signed in to change notification settings - Fork 529
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
use the demo code train a new dataset (got some problems ) #32
Comments
Do you have a colab you can share with some sample data? |
here are the sample data,which has 8 classes,shape of 150x150,in 3 channels.I‘d appreciate much if you can do me a favor!(https://github.com/MingQi-Yuan/the-sample-data) |
Could you please reproduce the error in one of the tutorial notebooks, and share the Colab? That will be most helpful to future users who have this problem. |
Here is the link of the Colab, I've already uploaded the notebook and the sample data into it.The link of the sample data |
这个库是不是实验品? |
I got some problems with AdaNet API,when I use the customizing_adanet.ipynb in the
adanet/adanet/examples/tutorials/ to train a new dataset, I got some error like this:
InvalidArgumentError: ValueError:
generator
yielded an element of shape (150, 150) where an element of shape () was expected.Traceback (most recent call last):
File "D:\Program Files\Anaconda3-5.2\lib\site-packages\tensorflow\python\ops\script_ops.py", line 206, in call
ret = func(*args)
File "D:\Program Files\Anaconda3-5.2\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 454, in generator_py_func
"of shape %s was expected." % (ret_array.shape, expected_shape))
ValueError:
generator
yielded an element of shape (150, 150) where an element of shape () was expected.[[{{node PyFunc}} = PyFuncTin=[DT_INT64], Tout=[DT_FLOAT, DT_INT32], token="pyfunc_184", _device="/device:CPU:0"]]
[[{{node IteratorGetNext}} = IteratorGetNextoutput_shapes=[[?,150,150,1], [?]], output_types=[DT_FLOAT, DT_INT32], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
The text was updated successfully, but these errors were encountered: