Fix files for issues commonly experienced with tensorflow object detection api
generate_tfrecord.py for those that experience issues with generate_tfrecord error: child index pit pf range int(member[4][0].text)
pip uninstall h5py
pip install h5py==2.10.0
https://exerror.com/importerror-cannot-import-name-invalidschemecombination-from-pip-_internal-exceptions/
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py (or just right click save as pip.py)
# paste get-pip.py into C:\Users\ASUS\anaconda3\Scripts
python get-pip.py pip==19.3.1
pip install pycocotools-windows
- reinstall tensorflow object detection api
git clone https://github.com/tensorflow/models.git
copy object_detection\packages\tf2\setup.py .
python -m pip install .
https://stackoverflow.com/questions/64662085/fix-not-load-dynamic-library-for-tensorflow-gpu have to install gpu variant of tensorflow & ensure gpu is detected check devices using (either one of the methods)
print(device_lib.list_local_devices())
tf.config.list_physical_devices('GPU')