-
Notifications
You must be signed in to change notification settings - Fork 45.8k
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
assertion failed: [predictions
out of bound] in Deeplab eval.py with ADE20K
#4203
Comments
Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. |
Yes sure, i just did it. |
We will update the tutorial and provide a checkpoint for ADE20K soon. Please stay tuned. |
hi,I have meet the same problem,and I got the solution by here,and I modify the code at line 145 in eval.py from:
to
After that I have got the expected results. |
@trobr I got the same problem, and do as you said, new error has arisen: How can I solve this problem? thanks in advance; |
@trobr AttributeError: 'Dataset' object has no attribute 'num_classes' |
@RajatGarg45, rename 'num_classes' to 'num_of_classes' |
Hi There, |
I had almost the same problem ici |
I also had the same error. tensorflow.python.framework.errors_impl.InvalidArgumentError: 2 root error(s) found. |
tensorflow.python.framework.errors_impl.InvalidArgumentError: 2 root error(s) found. |
same |
What is the top-level directory of the model you are using:
/content
Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Ubuntu 17.10 in Google Colab (env: Python2 with GPU)
TensorFlow installed from (source or binary):
standard Tensorflow in Google Colab
TensorFlow version (use command below):
('unknown', '1.7.0')
Bazel version (if compiling from source):
N/A
CUDA/cuDNN version:
Cuda 8.0
GPU model and memory:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.111 Driver Version: 384.111 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Tesla K80 Off | 00000000:00:04.0 Off | 0 |
| N/A 29C P8 26W / 149W | 0MiB / 11439MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
Exact command to reproduce:
In Google Colab:
Cell1:
Cell2:
Cell3:
Describe the problem
I try to train and evaluate deeplab model with ADE20K dataset in Google Colab.
I use as initial checkpoint mobilenetv2_coco_voc_trainaug, but I get the same error if I use xception_coco_voc_trainaug.
I see even others here #3730 has the same problem.
Can you help please?
Source code / logs
I get error in evaluation step:
The text was updated successfully, but these errors were encountered: