export_error_full.txt 5.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Ultralytics 8.4.21 Python-3.12.6 torch-2.9.1+cpu CPU (12th Gen Intel Core i5-12500)
  2. WARNING 'nms=True' is not available for end2end models. Forcing 'nms=False'.
  3. YOLO26n summary (fused): 122 layers, 2,376,006 parameters, 0 gradients, 5.2 GFLOPs
  4. PyTorch: starting from 'best.pt' with input shape (1, 3, 640, 640) BCHW and output shape(s) (1, 300, 6) (14.8 MB)
  5. TensorFlow SavedModel: starting export with tensorflow 2.19.1...
  6. ERROR TensorFlow SavedModel: export failure 8.8s: [WinError 32] The process cannot access the file because it is being used by another process: 'best_saved_model\\tmp_tflite_int8_calibration_images.npy'
  7. python : Traceback (most
  8. recent call last):
  9. At line:1 char:1
  10. + python -c "from
  11. ultralytics import YOLO; YO
  12. LO('best.pt').export(forma
  13. ...
  14. + ~~~~~~~~~~~~~~~~~~~~~~~~~
  15. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  16. ~~~~~~~~~~~~~~~~~
  17. + CategoryInfo
  18. : NotSpecified: (Tra
  19. ceback (most recent ca
  20. ll last)::String) [],
  21. RemoteException
  22. + FullyQualifiedErrorI
  23. d : NativeCommandError
  24. File "<string>", line 1,
  25. in <module>
  26. File "C:\Users\enzo\AppDa
  27. ta\Roaming\Python\Python312
  28. \site-packages\ultralytics\
  29. engine\model.py", line
  30. 712, in export
  31. return
  32. Exporter(overrides=args, _c
  33. allbacks=self.callbacks)(mo
  34. del=self.model)
  35. ^^^^^^^^^^^^^^^^
  36. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  37. ^^^^^^^^^^^^^^^^^^^^^^^^^^
  38. File "C:\Users\enzo\AppDa
  39. ta\Roaming\Python\Python312
  40. \site-packages\ultralytics\
  41. engine\exporter.py", line
  42. 596, in __call__
  43. f[5], keras_model =
  44. self.export_saved_model()
  45. ^^^^^^^^^^^^^^^^^^^^^^^^^
  46. File "C:\Users\enzo\AppDa
  47. ta\Roaming\Python\Python312
  48. \site-packages\ultralytics\
  49. engine\exporter.py", line
  50. 254, in outer_func
  51. raise e
  52. File "C:\Users\enzo\AppDa
  53. ta\Roaming\Python\Python312
  54. \site-packages\ultralytics\
  55. engine\exporter.py", line
  56. 246, in outer_func
  57. f = inner_func(*args,
  58. **kwargs) # exported
  59. file/dir or tuple of
  60. (file/dir, *)
  61. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  62. File "C:\Users\enzo\AppDa
  63. ta\Roaming\Python\Python312
  64. \site-packages\ultralytics\
  65. engine\exporter.py", line
  66. 1085, in export_saved_model
  67. shutil.rmtree(f) #
  68. delete output folder
  69. ^^^^^^^^^^^^^^^^
  70. File "C:\Python312\Lib\sh
  71. util.py", line 781, in
  72. rmtree
  73. return
  74. _rmtree_unsafe(path, onexc)
  75. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  76. File "C:\Python312\Lib\sh
  77. util.py", line 635, in
  78. _rmtree_unsafe
  79. onexc(os.unlink,
  80. fullname, err)
  81. File "C:\Python312\Lib\sh
  82. util.py", line 633, in
  83. _rmtree_unsafe
  84. os.unlink(fullname)
  85. PermissionError: [WinError
  86. 32] The process cannot
  87. access the file because it
  88. is being used by another
  89. process: 'best_saved_model\
  90. \tmp_tflite_int8_calibratio
  91. n_images.npy'