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

TypeError: Expected int32, but got None of type 'NoneType'. #3

Open
Abhipray04 opened this issue Jul 21, 2022 · 0 comments
Open

TypeError: Expected int32, but got None of type 'NoneType'. #3

Abhipray04 opened this issue Jul 21, 2022 · 0 comments

Comments

@Abhipray04
Copy link

Abhipray04 commented Jul 21, 2022

I am getting the following error whenever I am going to train the model:

TypeError: in user code:

File "C:\Users\Abhipray\AppData\Local\Programs\Python\Python37\lib\site-packages\object_detection\inputs.py", line 886, in transform_and_pad_input_data_fn  *
    tensor_dict = pad_input_data_to_static_shapes(
File "C:\Users\Abhipray\AppData\Local\Programs\Python\Python37\lib\site-packages\object_detection\inputs.py", line 319, in transform_input_data  *
    out_tensor_dict[flds_gt_kpt_weights] = (
File "C:\Users\Abhipray\AppData\Local\Programs\Python\Python37\lib\site-packages\object_detection\core\keypoint_ops.py", line 349, in keypoint_weights_from_visibilities  *
    per_keypoint_weight_mult = tf.ones((1, num_keypoints,), dtype=tf.float32)

TypeError: Expected int32, but got None of type 'NoneType'.

@prabhakar-sivanesan I noticed that you have encountered with similar error; how did you address this issue?

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