-
Notifications
You must be signed in to change notification settings - Fork 20
Shape [-1] has negative dimensions #1
Comments
It appears for placeholders |
A hypothesis is that it might be caused by mismatch of size of predictions and targets within each replica (tower). Now we provide inputs and targets of full mini-batch size, but extract slices and compute tower predictions of of sub-batch size. Since we compute the loss within each tower (compared to the baseline solution - We would have to slice also the targets/sample weights. Or another solution would be perform sub-batch slicing in Keras and feed slices for each tower separately. |
It seems that there are some placeholders that are not assigned in Placeholders:
The above error is raised when a placeholder with dynamic dimensions (marked as In |
Running on 2 GPUs (GTX 1070):
The text was updated successfully, but these errors were encountered: