Я использую этот репозиторий: https://github.com/chang-chia-chi/track ... ensorflow2. Я новичок в этой области, не судите меня сильно. Также это ошибка появляется, когда я запускаю код Predict.py в репозитории после клонирования:
PS C:\Users\georg\OneDrive\Documents\PRAJJ\TrackNet-Badminton-Tracking-tensorflow2> python predict.py
2025-03-30 12:37:07.788180: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2025-03-30 12:37:07.792615: I tensorflow/core/common_runtime/process_util.cc:146] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance.
Load weights successfully
Load csv file successfully
Beginning predicting......
1/1 [==============================] - 5s 5s/step
Traceback (most recent call last):
File "C:\Users\georg\OneDrive\Documents\PRAJJ\TrackNet-Badminton-Tracking-tensorflow2\predict.py", line 137, in
_, cnts, _ = cv2.findContours(h_pred[0].copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
ValueError: not enough values to unpack (expected 3, got 2)
WARNING:tensorflow:Detecting that an object or model or tf.train.Checkpoint is being deleted with unrestored values. See the following logs for the specific values in question. To silence these warnings, use status.expect_partial(). See https://www.tensorflow.org/api_docs/pyt ... restorefor details about the status object returned by the restore function.
WARNING:tensorflow:Value in checkpoint could not be found in the restored object: (root).optimizer.decay
WARNING:tensorflow:Value in checkpoint could not be found in the restored object: (root).optimizer.learning_rate
WARNING:tensorflow:Value in checkpoint could not be found in the restored object: (root).optimizer.rho
WARNING:tensorflow:Value in checkpoint could not be found in the restored object: (root).optimizer.iter
WARNING:tensorflow:Value in checkpoint could not be found in the restored object: (root).optimizer's state 'accum_grad' for (root).conv_t1.bn_1.gamma
WARNING:tensorflow:Value in checkpoint could not be found in the restored object: (root).optimizer's state 'accum_grad' for (root).conv_t1.bn_1.beta
WARNING:tensorflow:Value in checkpoint could not be found in the restored object: (root).optimizer's state 'accum_grad' for (root).conv_t1.conv_1.kernel
WARNING:tensorflow:Value in checkpoint could not be found in the restored object: (root).optimizer's state 'accum_grad' for (root).conv_t1.conv_1.bias
Подробнее здесь: https://stackoverflow.com/questions/795 ... al-weights
Есть ли способ узнать, являются ли это реальными весами? ⇐ Python
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Есть ли способ узнать, являются ли это реальными весами? [дублировать]
Anonymous » » в форуме Python - 0 Ответы
- 4 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Неоднозначная специализация шаблонов с понятиями и реальными типами: какой компилятор прав?
Anonymous » » в форуме C++ - 0 Ответы
- 21 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Как обращаться с «реальными» данными и замкнутыми уравнениями в машинном обучении?
Anonymous » » в форуме Python - 0 Ответы
- 26 Просмотры
-
Последнее сообщение Anonymous
-