theAIGuysCode / yolov4-deepsort

Object tracking implemented with YOLOv4, DeepSort, and TensorFlow.
GNU General Public License v3.0
1.33k stars 750 forks source link

weights not saved properly #158

Closed sushant7878 closed 1 year ago

sushant7878 commented 1 year ago

when I try to run save_model.py it runs without error but all the weights are not saved properly. it says

Total params: 6,062,814 Trainable params: 6,056,606 Non-trainable params: 6,208

when it is saved properly, it should be

Total params: 64,429,405 Trainable params: 64,363,101 Non-trainable params: 66,304

as shown in the figure below.

can someone help me with the case??

problem-1

problem-2

sushant7878 commented 1 year ago

I got the solution. Just install tensorflow-gpu==2.3.1 instead of tensorflow==2.3.0rc0

and

addition install

tensorflow==2.3.1