Even though I have tensorflow installed in the venv at version 2.12.0 it kinda does not have tensorflow.python.keras.layers.preprocessing. I tried to install the object-detection API and I am still struggling to get it work. Here is what I got as an error message when I tried to run the test file python object_detection/builders/model_builder_tf2_test.py. The second photo shows you what I got when I tried to run the command python -m pip install .
Some stuff works but like I said I am not able to make the test file work.enter image description hereenter image description here
I already did install visual studio 2017 because I got an error that object detection needed that and I also did everything what was written in the installement guide here https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/install.html#tf-models-install-coco
I tried that already the whole da so I would be really happy if somebody could help me:)