Skip to content

Cannot convert yolo-v4-tf model #3999

Open
@leandrosansilva

Description

@leandrosansilva

I am trying to download and convert the yolo-v4-tf model, but the conversion fails.

Here is how you can reproduce the error (I am on a clean, fresh install of Ubuntu 24.04 on amd64):

pip install openvino-dev tensorflow
omz_downloader --name yolo-v4-tf
omz_converter --name yolo-v4-tf

Pip install reports:

Installing collected packages: openvino-telemetry, namex, libclang, flatbuffers, wrapt, urllib3, typing-extensions, termcolor, tensorboard-data-server, six, pyyaml, pygments, protobuf, packaging, opt-einsum, numpy, networkx, mdurl, MarkupSafe, markdown, idna, grpcio, gast, defusedxml, charset-normalizer, certifi, absl-py, werkzeug, requests, optree, openvino, ml-dtypes, markdown-it-py, h5py, google-pasta, astunparse, tensorboard, rich, openvino-dev, keras, tensorflow
Successfully installed MarkupSafe-3.0.2 absl-py-2.1.0 astunparse-1.6.3 certifi-2025.1.31 charset-normalizer-3.4.1 defusedxml-0.7.1 flatbuffers-25.2.10 gast-0.6.0 google-pasta-0.2.0 grpcio-1.70.0 h5py-3.13.0 idna-3.10 keras-3.8.0 libclang-18.1.1 markdown-3.7 markdown-it-py-3.0.0 mdurl-0.1.2 ml-dtypes-0.4.1 namex-0.0.8 networkx-3.1 numpy-1.26.4 openvino-2024.6.0 openvino-dev-2024.6.0 openvino-telemetry-2025.0.1 opt-einsum-3.4.0 optree-0.14.0 packaging-24.2 protobuf-5.29.3 pygments-2.19.1 pyyaml-6.0.2 requests-2.32.3 rich-13.9.4 six-1.17.0 tensorboard-2.18.0 tensorboard-data-server-0.7.2 tensorflow-2.18.0 termcolor-2.5.0 typing-extensions-4.12.2 urllib3-2.3.0 werkzeug-3.1.3 wrapt-1.17.2

And this is the error that happens:

========== Running pre-convert script for yolo-v4-tf
Pre-convert command: /usr/bin/python3 -- /usr/local/lib/python3.12/dist-packages/omz_tools/models/public/yolo-v4-tf/pre-convert.py -- /public/yolo-v4-tf /public/yolo-v4-tf

2025-02-25 20:34:58.539189: I external/local_xla/xla/tsl/cuda/cudart_stub.cc:32] Could not find cuda drivers on your machine, GPU will not be used.
2025-02-25 20:34:58.541510: I external/local_xla/xla/tsl/cuda/cudart_stub.cc:32] Could not find cuda drivers on your machine, GPU will not be used.
2025-02-25 20:34:58.547794: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:477] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1740515698.557939    4813 cuda_dnn.cc:8310] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1740515698.561121    4813 cuda_blas.cc:1418] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2025-02-25 20:34:58.572535: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Loading weights.
Weights Header:  0 2 5 [32032000]
Parsing Darknet config.
Creating Keras model.
Parsing section net_0
Parsing section convolutional_0
/public/yolo-v4-tf/keras-YOLOv3-model-set/tools/model_converter/convert.py:406: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
  _main(parser.parse_args())
conv2d bn mish (3, 3, 3, 32)
Traceback (most recent call last):
  File "/public/yolo-v4-tf/keras-YOLOv3-model-set/tools/model_converter/convert.py", line 406, in <module>
    _main(parser.parse_args())
  File "/public/yolo-v4-tf/keras-YOLOv3-model-set/tools/model_converter/convert.py", line 235, in _main
    conv_layer = (Conv2D(
                  ^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/keras/src/layers/convolutional/conv2d.py", line 109, in __init__
    super().__init__(
  File "/usr/local/lib/python3.12/dist-packages/keras/src/layers/convolutional/base_conv.py", line 107, in __init__
    super().__init__(activity_regularizer=activity_regularizer, **kwargs)
  File "/usr/local/lib/python3.12/dist-packages/keras/src/layers/layer.py", line 287, in __init__
    raise ValueError(
ValueError: Unrecognized keyword arguments passed to Conv2D: {'weights': [array([[[[-4.95470554e-01,  1.86482286e+00,  1.32324263e-01,
           4.07818228e-01, -9.66788009e-02, -1.57632038e-01,
          -8.85213551e-04, -1.59049518e-02,  8.77859369e-02,
           1.92936254e+00, -1.80069685e+00, -1.67709112e+00,
           2.40181997e-01, -1.68064868e+00, -4.20151576e-02,
          -5.92249967e-02, -1.94882274e+00,  2.08459330e+00,
          -1.58136025e-01,  4.82737184e-01, -1.68163821e-01,
          -6.13700211e-01, -2.05895972e+00,  1.39093995e-01,
          -1.22976862e-01, -4.19946939e-01, -2.26263627e-01,
          -5.55333674e-01, -3.32594782e-01,  2.78454512e-01,
           2.86972761e-01, -3.56918983e-02],
         [-1.27369955e-01,  1.74926281e+00, -1.45710304e-01,
           3.10536146e-01, -1.68050781e-01,  3.15157205e-01,
          -4.50293981e-02, -9.99845937e-02,  3.15605700e-02,
           1.90216959e+00,  7.55281568e-01, -1.37390924e+00,
           2.56817698e-01, -1.57319248e+00, -5.04742786e-02,
          -1.40047401e-01,  7.82366037e-01, -2.34805450e-01,
          -5.78536570e-01,  2.74168223e-01, -1.39431342e-01,
           6.21662378e-01,  5.54719448e-01, -3.85410339e-01,
          -1.50970981e-01,  1.24661595e-01, -2.47706637e-01,
           8.01409602e-01,  6.10504389e-01, -2.29738832e-01,
          -8.67160439e-01, -3.12526494e-01],
         [-4.33437258e-01,  1.28350544e+00,  7.91659579e-02,
          -4.80573893e-01, -3.32322776e-01,  2.63339162e-01,
          -4.27623764e-02, -1.09221704e-01, -2.45158032e-01,
           1.54764521e+00,  1.57027221e+00, -9.83102322e-01,
           6.11288585e-02, -1.20994902e+00, -2.03793362e-01,
          -2.08661139e-01,  1.57036018e+00, -1.41647303e+00,
           2.97364872e-02, -3.79543185e-01, -2.01617554e-01,
          -2.07441911e-01,  1.28490317e+00,  3.97924900e-01,
          -1.81175128e-01,  4.74346206e-02,  5.69396019e-01,
          -7.07674921e-01, -4.40724552e-01,  5.97597174e-02,
           5.70457160e-01, -4.51196373e-01]],

        [[-3.40237357e-02,  8.14345852e-02,  6.90973043e-01,
           2.02569842e-01, -1.04125954e-01, -1.38897309e-02,
           1.34940119e-02,  7.34489486e-02,  1.51489049e-01,
           3.08534694e+00, -2.66645312e+00, -2.62623787e+00,
           7.61406004e-01, -3.08281988e-01,  2.43861631e-01,
           2.06097305e-01, -2.80809283e-01,  2.42608762e+00,
          -2.48162121e-01, -1.10372519e+00, -1.89828962e-01,
          -2.70185322e-01, -2.17166588e-01,  5.43048203e-01,
           9.66378897e-02, -7.29555130e-01, -2.53287643e-01,
           5.16987145e-01,  5.10115139e-02, -8.96007754e-03,
          -6.70077428e-02,  5.25859237e-01],
         [ 7.50406086e-02,  1.02593288e-01, -3.47241342e-01,
           5.91212362e-02, -1.10544778e-01, -5.60744591e-02,
          -2.10616384e-02, -1.38204787e-02, -1.73540220e-01,
           2.97501469e+00,  4.22742993e-01, -2.61440539e+00,
           5.08281648e-01, -2.47319728e-01,  1.15237877e-01,
           7.77347311e-02, -1.73729390e-01, -8.43541741e-01,
          -4.13902067e-02,  4.17845309e-01, -1.07721895e-01,
           8.35134804e-01,  9.03540328e-02, -7.99233735e-01,
           3.92139703e-02,  1.25530928e-01, -7.74327397e-01,
           1.94500124e+00,  9.60801780e-01,  3.31879482e-02,
          -8.77354741e-01,  2.21390143e-01],
         [-1.85870379e-01,  1.09986894e-01, -2.21313223e-01,
          -1.40652671e-01, -4.86499630e-02,  1.99297965e-01,
          -2.42277849e-02, -4.34016064e-02, -5.03627539e-01,
           2.38704252e+00,  1.90211666e+00, -1.98905277e+00,
           4.07832712e-01, -1.84895515e-01, -4.92944531e-02,
          -2.60250606e-02,  3.20897043e-01, -2.02498174e+00,
           1.01120621e-01, -1.21926524e-01, -2.37787500e-01,
          -1.21166565e-01,  2.96685789e-02,  1.19023435e-01,
          -1.19238449e-02,  5.78598261e-01, -5.23656569e-02,
          -3.04593235e-01, -1.02622044e+00, -5.11818714e-02,
           9.43377614e-01,  3.45436037e-01]],

        [[ 1.34922236e-01, -1.79489791e+00,  4.28575605e-01,
           5.50151646e-01, -1.45924449e-01, -6.81996420e-02,
           4.36980568e-04,  2.38792151e-02,  1.85586046e-02,
           2.31125069e+00, -2.00669599e+00, -1.95840299e+00,
           2.33370781e-01,  1.78717852e+00,  9.80560184e-02,
           8.72065723e-02,  2.14106631e+00,  2.43984079e+00,
          -6.59129560e-01,  1.81963950e-01, -4.47294191e-02,
          -6.14724994e-01,  2.07163239e+00,  3.27281952e-01,
           2.50155348e-02, -6.66414201e-01, -4.29504901e-01,
          -5.21120727e-01, -2.73672342e-01, -1.25204489e-01,
           2.30614424e-01, -6.72322512e-02],
         [-3.01892757e-01, -1.67763710e+00, -2.88794607e-01,
           3.22288036e-01, -1.31370097e-01,  3.47266525e-01,
          -1.12716537e-02, -3.51647995e-02, -6.90215901e-02,
           2.17082477e+00,  7.17974842e-01, -1.79357350e+00,
           5.79879820e-01,  1.83597553e+00, -2.91232690e-02,
          -3.90809514e-02, -6.40003085e-01, -5.22629559e-01,
          -4.96019989e-01,  3.92074108e-01,  2.76996464e-01,
           7.51164317e-01, -7.69542396e-01, -7.56569147e-01,
          -3.50047946e-02,  6.36476129e-02, -4.08714503e-01,
           2.31466919e-01,  8.46025646e-01,  7.45113730e-01,
          -9.18301880e-01, -3.30324948e-01],
         [ 5.32499254e-01, -1.39630556e+00, -1.31628394e-01,
          -5.85752487e-01, -2.51277506e-01,  3.25029314e-01,
          -1.34258419e-02, -5.07850498e-02, -4.33625996e-01,
           1.80617940e+00,  2.10580969e+00, -1.39323699e+00,
           1.08922929e-01,  1.42027497e+00, -1.68982446e-01,
          -9.40071344e-02, -1.21444070e+00, -1.29610240e+00,
          -5.77888072e-01, -4.60718036e-01, -4.43341695e-02,
          -2.02732190e-01, -1.72511256e+00,  4.04467911e-01,
          -4.50119711e-02,  4.40235823e-01,  3.27321529e-01,
          -5.65468192e-01, -8.55958819e-01, -1.13151908e-01,
           7.00244784e-01, -4.94101942e-01]]],


       [[[ 7.59860337e-01,  2.55827355e+00,  5.75426817e-01,
           3.76471728e-02,  5.83241954e-02, -9.12083238e-02,
           2.41754875e-02,  6.00057803e-02,  1.79031819e-01,
          -1.81519046e-01, -8.59163105e-02, -5.25846183e-01,
          -4.83943492e-01, -2.39718008e+00,  1.91186041e-01,
           8.51141885e-02, -2.29835391e+00,  3.48533131e-02,
          -2.94315487e-01, -9.35670733e-01, -2.46257767e-01,
          -3.13928485e-01, -2.24854803e+00,  6.01662695e-01,
           2.68078549e-03, -7.33372152e-01, -2.28313595e-01,
          -1.35062441e-01,  2.64829732e-02,  3.58463883e-01,
           2.82291174e-02,  6.42905235e-01],
         [ 8.39253247e-01,  2.48988104e+00, -3.38681519e-01,
           1.57071427e-02,  7.72055611e-02, -6.83224667e-03,
          -2.42092460e-02, -3.95893306e-02, -1.06512062e-01,
          -7.25957677e-02,  2.37590209e-01, -3.63200635e-01,
          -5.51340640e-01, -2.39867854e+00,  6.53066337e-02,
          -2.79057212e-02,  7.36988187e-01,  2.03768298e-01,
          -3.05661827e-01,  3.69273603e-01, -2.86492497e-01,
           7.80280769e-01,  9.22640622e-01, -6.10563517e-01,
          -4.77755144e-02,  1.87113672e-01, -8.10243487e-01,
           2.40420505e-01,  7.67073333e-01, -4.47307706e-01,
          -7.90999055e-01,  1.33014336e-01],
         [-1.80934459e-01,  1.96447754e+00, -1.93970367e-01,
          -1.24474451e-01,  1.24636024e-01,  1.57111734e-01,
          -3.12796272e-02, -6.67505264e-02, -3.90383720e-01,
          -1.04852855e-01, -4.75930385e-02, -2.68381447e-01,
          -2.46126696e-01, -1.88993549e+00, -1.33800954e-01,
          -1.33041844e-01,  1.58282042e+00, -1.57602251e-01,
           1.30891100e-01, -8.46961364e-02, -2.74132162e-01,
          -1.13432042e-01,  1.91533399e+00, -6.29202798e-02,
          -1.05941214e-01,  5.44520736e-01,  9.67446808e-03,
          -3.48450452e-01, -8.45093191e-01,  1.20743610e-01,
           9.56210613e-01,  1.76344261e-01]],

        [[ 2.02805448e+00, -5.01157381e-02,  1.24352527e+00,
          -2.05696321e+00,  2.01061562e-01, -1.12256312e+00,
           5.36338948e-02,  1.86718136e-01,  3.63898844e-01,
          -1.84300035e-01, -1.74582317e-01, -4.32692736e-01,
          -2.51280904e+00, -2.70342231e-01,  6.10214889e-01,
           3.89247060e-01, -8.15284014e-01,  5.19674420e-02,
           2.39513469e+00, -2.37840796e+00, -2.68037319e-01,
          -4.80761290e-01,  3.66537333e-01,  1.38425195e+00,
           2.59362161e-01, -9.70205128e-01,  2.62730742e+00,
           4.36512902e-02,  7.45860994e-01, -3.18276793e-01,
          -6.06536865e-01,  8.34062338e-01],
         [ 1.85994422e+00, -4.44899388e-02, -7.23342955e-01,
          -1.28922546e+00,  3.60409319e-01, -1.55600476e+00,
           8.84437282e-03,  7.00492114e-02, -2.67714173e-01,
          -1.38759688e-01,  3.63490656e-02, -4.65666294e-01,
          -2.66080379e+00, -2.63181925e-01,  3.81802142e-01,
           2.09691808e-01, -9.06115592e-01, -7.54626393e-02,
           3.06468081e+00,  1.92451394e+00, -1.92757219e-01,
           4.32194144e-01,  7.65851319e-01, -1.01481795e+00,
           1.68826595e-01,  3.03981364e-01,  7.06733406e-01,
           5.15400246e-02,  1.57791972e+00, -6.24132752e-01,
          -9.78534997e-01,  5.70548177e-01],
         [ 5.55835545e-01,  3.85527574e-02, -6.13050580e-01,
           2.27769185e-03,  6.95213675e-01, -1.12898886e+00,
          -4.51349281e-03,  1.35881286e-02, -6.33844256e-01,
          -1.26579627e-01, -3.15096378e-02, -3.49265814e-01,
          -8.86373937e-01, -1.93583965e-01,  1.97714373e-01,
           4.47355695e-02, -3.53958338e-01, -2.20591366e-01,
           1.68834436e+00,  1.78698945e+00, -2.59228140e-01,
          -8.63388181e-01,  5.62350392e-01, -2.80364543e-01,
           6.79726303e-02,  1.32744253e+00,  4.58032757e-01,
          -1.61940411e-01, -1.63125503e+00, -1.43917188e-01,
           1.45261335e+00,  1.19537926e+00]],

        [[-2.29666877e+00, -2.63265491e+00,  9.80198145e-01,
           5.99030070e-02, -6.98609091e-03, -2.60594308e-01,
           4.24500629e-02,  1.29331529e-01,  2.25245923e-01,
          -2.53417850e-01, -1.29683584e-01, -4.70055759e-01,
           3.61017019e-01,  2.82088232e+00,  4.47839916e-01,
           2.58840501e-01,  2.34474921e+00,  1.17109552e-01,
          -8.57186243e-02, -1.23188293e+00,  2.30338275e-02,
          -4.77091879e-01,  2.94240522e+00,  1.04346883e+00,
           1.81974784e-01, -1.02559125e+00,  5.17626405e-01,
           2.13632420e-01,  2.91711420e-01, -3.55621964e-01,
          -2.11631998e-01,  6.33324623e-01],
         [-2.69750786e+00, -2.54690170e+00, -5.95345914e-01,
          -1.22974299e-01,  8.99458602e-02, -2.46696204e-01,
           2.24911831e-02,  4.55464907e-02, -1.34130359e-01,
          -1.17097311e-01,  6.08547777e-03, -4.58523691e-01,
           4.35253710e-01,  2.85769463e+00,  2.16214702e-01,
           9.28915218e-02, -1.29954755e+00, -1.11172870e-01,
           4.70042497e-01,  7.90181816e-01,  3.77282530e-01,
           8.71959209e-01, -4.88552064e-01, -9.65456486e-01,
           9.60797966e-02,  8.95371810e-02, -3.58007699e-01,
          -2.23934531e-01,  1.29978657e+00,  3.16821754e-01,
          -9.94291186e-01,  1.43901616e-01],
         [-2.96316206e-01, -1.99584210e+00, -4.54219162e-01,
          -1.84384435e-01,  1.80861413e-01,  5.69073223e-02,
           1.45971039e-02,  1.10895392e-02, -5.31272590e-01,
          -1.06346518e-01,  3.46353948e-01, -3.40501666e-01,
           2.01596200e-01,  2.21505308e+00,  5.60130179e-02,
          -1.44572752e-02, -2.11178780e+00,  1.65210471e-01,
          -2.37602666e-01,  2.16415644e-01,  9.80632007e-02,
          -2.44159117e-01, -1.81666493e+00, -1.55861527e-02,
           4.12870832e-02,  1.02469683e+00,  4.57410663e-02,
           2.27683887e-01, -1.43292987e+00, -9.58239064e-02,
           1.15684342e+00,  2.10246846e-01]]],


       [[[-5.84949911e-01,  2.05200028e+00,  2.64342368e-01,
           4.05444711e-01, -1.39808923e-01, -1.05003854e-02,
           3.23451385e-02,  3.69300954e-02,  4.96082008e-02,
          -1.84779119e+00,  2.12637615e+00,  1.86416376e+00,
           2.02873498e-01, -1.88538909e+00,  1.91773683e-01,
          -3.76707651e-02, -2.13989091e+00, -2.18231440e+00,
          -2.95830548e-01,  1.90843165e-01,  9.65363085e-02,
          -5.74936986e-01, -2.30556202e+00,  3.41563702e-01,
          -9.56952646e-02, -5.22126079e-01, -4.50734913e-01,
           6.23753965e-01, -2.55148500e-01,  5.11329293e-01,
           1.23473629e-01,  2.62175679e-01],
         [-2.85742015e-01,  2.00789523e+00, -1.99433535e-01,
           2.96873987e-01, -1.33827820e-01,  2.53304511e-01,
          -6.04055589e-03, -3.42874192e-02, -2.77487431e-02,
          -1.75816905e+00, -4.55454111e-01,  1.88740683e+00,
           5.47326744e-01, -1.72317815e+00,  2.32645497e-02,
          -1.13201134e-01,  1.03524017e+00,  6.07807875e-01,
          -6.46228075e-01,  3.83707762e-01,  2.23313972e-01,
           7.83248723e-01,  4.88602430e-01, -4.10089493e-01,
          -1.20888479e-01,  1.53303698e-01, -3.77748013e-01,
          -1.96170077e-01,  7.05254912e-01, -2.87964433e-01,
          -8.24142337e-01, -3.11721236e-01],
         [-3.58683735e-01,  1.61926389e+00,  3.85113843e-02,
          -4.33722228e-01, -2.10966930e-01,  1.34911984e-01,
          -1.74670070e-02, -5.29065318e-02, -2.31473207e-01,
          -1.46541536e+00, -1.90363038e+00,  1.31386399e+00,
          -5.65323718e-02, -1.39349651e+00, -1.48359418e-01,
          -1.92156926e-01,  1.39372385e+00,  1.31249654e+00,
          -9.75791924e-03, -4.97965366e-01,  5.74662648e-02,
          -1.02697447e-01,  1.62953508e+00,  1.80622742e-01,
          -1.54944792e-01,  2.82446176e-01,  6.26209974e-01,
           4.85712290e-01, -6.39159441e-01,  1.98166266e-01,
           5.93152821e-01, -5.12005687e-01]],

        [[ 3.90425026e-02, -2.42004141e-01,  8.93046379e-01,
          -2.02327475e-01, -1.63095787e-01, -3.21362793e-01,
           6.40288964e-02,  1.52549580e-01,  1.27663448e-01,
          -2.83077526e+00,  3.29284477e+00,  3.15993786e+00,
          -1.73502550e-01, -4.25830930e-01,  5.99667490e-01,
           2.36708432e-01, -4.39824909e-02, -1.97640693e+00,
          -1.66441068e-01, -1.53070498e+00, -1.46289663e-02,
          -4.24542874e-01, -2.11787298e-01,  8.37781549e-01,
           1.28787085e-01, -9.48327899e-01,  1.54895067e-01,
          -6.24719560e-01,  2.28093073e-01,  2.96301782e-01,
          -2.55178958e-01,  5.80481827e-01],
         [ 2.93237772e-02, -4.85996790e-02, -5.54964066e-01,
          -8.91049430e-02, -8.09504539e-02, -3.34062248e-01,
           2.83808429e-02,  6.70674890e-02, -2.36896530e-01,
          -2.76549411e+00, -1.33357480e-01,  3.08975983e+00,
          -2.26289928e-01, -3.85293067e-01,  3.36745679e-01,
           1.13169007e-01,  2.67174274e-01,  1.36529732e+00,
          -8.82592872e-02,  9.21045423e-01,  1.94541097e-01,
           9.10041392e-01, -4.38553980e-03, -9.85315740e-01,
           7.77421147e-02,  3.01753543e-03, -7.57912219e-01,
          -1.94032800e+00,  1.31280589e+00, -1.09756641e-01,
          -8.54578257e-01,  3.44930850e-02],
         [-2.02392057e-01, -5.50056808e-02, -2.97464550e-01,
           1.17963210e-01,  1.04141839e-01, -2.68756598e-01,
           1.36692217e-02,  2.88894866e-02, -4.62207973e-01,
          -2.21749234e+00, -1.91707194e+00,  2.33782697e+00,
          -6.98266700e-02, -2.76669115e-01,  1.69132262e-01,
          -1.56662147e-02, -1.69978421e-02,  2.31484771e+00,
          -2.21086182e-02,  4.71183717e-01, -1.36640924e-03,
          -4.62625682e-01,  2.00167269e-01, -1.26824319e-01,
           7.19967857e-03,  8.30696344e-01,  8.79371911e-02,
           2.22474337e-01, -1.53251886e+00,  2.45463595e-01,
           1.08379424e+00,  1.45663828e-01]],

        [[ 2.74876744e-01, -2.10168386e+00,  5.91235578e-01,
           5.11298478e-01, -2.22509950e-01, -3.69013548e-02,
           4.06007320e-02,  8.32697973e-02,  2.68029664e-02,
          -2.27435517e+00,  2.08502150e+00,  2.33072376e+00,
           8.22793365e-01,  2.06589699e+00,  4.64594334e-01,
           1.13462903e-01,  2.30365467e+00, -2.42394185e+00,
          -7.98337817e-01, -4.63759825e-02, -6.49961680e-02,
          -7.19730616e-01,  2.38449979e+00,  5.89838207e-01,
           5.76418303e-02, -8.31397474e-01, -5.40895998e-01,
           7.74085522e-01, -2.14968234e-01, -2.68162131e-01,
           1.38767943e-01,  1.35446951e-01],
         [ 4.85208035e-02, -1.80648494e+00, -5.07718086e-01,
           1.91435799e-01, -1.87042639e-01,  2.66380370e-01,
           2.67532319e-02,  2.95136143e-02, -9.01262984e-02,
          -2.05850482e+00, -9.36560333e-01,  2.21904373e+00,
           1.17084229e+00,  2.07231522e+00,  2.10316747e-01,
           1.06796371e-02, -6.08976126e-01,  2.95295805e-01,
          -6.71115339e-01,  4.96229708e-01,  3.37145686e-01,
           9.65406120e-01, -7.83388019e-01, -8.27365875e-01,
           1.71145946e-02, -4.73193228e-02, -4.94142026e-01,
          -7.60633945e-01,  1.14874673e+00,  1.86061174e-01,
          -8.80115628e-01, -3.65787238e-01],
         [ 4.07693803e-01, -1.47686863e+00, -1.74324811e-01,
          -3.76959741e-01, -2.20212623e-01,  2.93524802e-01,
           2.35209111e-02,  1.80240758e-02, -3.52450818e-01,
          -1.67284489e+00, -1.61810303e+00,  1.74803960e+00,
           2.21903875e-01,  1.67633319e+00,  6.41483814e-02,
          -6.65682033e-02, -1.70248330e+00,  1.72160649e+00,
          -8.69670510e-01, -5.21168053e-01,  1.91037562e-02,
          -2.17510581e-01, -1.63943660e+00,  2.67018497e-01,
          -1.37894060e-02,  6.22269690e-01,  3.93324524e-01,
           1.07586861e+00, -1.26298428e+00, -2.93277334e-02,
           7.81023800e-01, -5.66701770e-01]]]], dtype=float32)]}
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/dist-packages/omz_tools/models/public/yolo-v4-tf/pre-convert.py", line 40, in <module>
    main()
  File "/usr/local/lib/python3.12/dist-packages/omz_tools/models/public/yolo-v4-tf/pre-convert.py", line 30, in main
    subprocess.run([sys.executable, '--',
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/python3', '--', '/public/yolo-v4-tf/keras-YOLOv3-model-set/tools/model_converter/convert.py', '/public/yolo-v4-tf/keras-YOLOv3-model-set/cfg/yolov4.cfg', '/public/yolo-v4-tf/yolov4.weights', '/public/yolo-v4-tf/yolo-v4.savedmodel', '--yolo4_reorder']' returned non-zero exit status 1.

FAILED:
yolo-v4-tf

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions