-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Description
When i tried to run the load_weights.py file, got the following error:-
(venv) PS D:\YOLOv3\yolo-v3> python .\load_weights.py
2024-08-14 03:12:41.185064: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2024-08-14 03:12:41.849566: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
Traceback (most recent call last):
File "D:\YOLOv3\yolo-v3\load_weights.py", line 117, in <module>
main()
File "D:\YOLOv3\yolo-v3\load_weights.py", line 101, in main
inputs = tf.placeholder(tf.float32, [1, 416, 416, 3])
^^^^^^^^^^^^^^
AttributeError: module 'tensorflow' has no attribute 'placeholder'
i tried to modify the load_weights.py file, but i guess there are issues with the yolo_v3.py file also.
I would really appreciate a revised and updated code.
Thanks
essawey
Metadata
Metadata
Assignees
Labels
No labels