LeonLok / Deep-SORT-YOLOv4

People detection and optional tracking with Tensorflow backend.
GNU General Public License v3.0
496 stars 170 forks source link

How to initialize if using tf.Session to get a new session? #26

Open ShowTsai opened 4 years ago

ShowTsai commented 4 years ago

It's line 29 in file tensorflow2.0/deep-sort-yolov4/yolo.py .

self.sess = tf.compat.v1.keras.backend.get_session()

How to initialize the session if I change this line to:

self.sess = tf.Session()