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

Tensor size issue when running the training script with KITTI #38

Open
MaxPRon opened this issue Jun 16, 2021 · 0 comments
Open

Tensor size issue when running the training script with KITTI #38

MaxPRon opened this issue Jun 16, 2021 · 0 comments

Comments

@MaxPRon
Copy link

MaxPRon commented Jun 16, 2021

Hello everyone,

I'm trying to the get the script point_pillars_prediction.py. I'm using the kitti dataset and running it as it is. However, after a couple of samples I get the following error message.

tensorflow.python.framework.errors_impl.InvalidArgumentError: Incompatible shapes: [1,252,252,4] vs. [1,150,150,4] [[node gradient_tape/heading_loss/logistic_loss/mul/BroadcastGradientArgs (defined at /code/incenda/3dlidar_object_detection/PointPillar/point_pillars_training_run_kitti.py:69) ]] [Op:__inference_train_function_8839]

Alternatively I have this error message:

tensorflow.python.framework.errors_impl.InvalidArgumentError: logits and labels must be broadcastable: logits_size=[254016,4] labels_size=[90000,4] [[node class_loss/softmax_cross_entropy_with_logits (defined at /code/incenda/3dlidar_object_detection/PointPillar/loss.py:78) ]] [Op:__inference_train_function_8839]

It doesn't depend on one single file but is always after twelve samples. I really can't explain why this is happening.

Previously there was a similar issue related to the tensor shape but I don't think it applies here. Does anyone have some suggestions what the reason for that is or had similiar issues ?

Thanks already for the help :)

Best regards,

Max

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

1 participant