| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- Ultralytics 8.4.21 Python-3.12.6 torch-2.9.1+cpu CPU (12th Gen Intel Core i5-12500)
- WARNING 'nms=True' is not available for end2end models. Forcing 'nms=False'.
- YOLO26n summary (fused): 122 layers, 2,376,006 parameters, 0 gradients, 5.2 GFLOPs
- [34m[1mPyTorch:[0m starting from 'best.pt' with input shape (1, 3, 640, 640) BCHW and output shape(s) (1, 300, 6) (14.8 MB)
- [34m[1mTensorFlow SavedModel:[0m starting export with tensorflow 2.19.1...
- ERROR [34m[1mTensorFlow SavedModel:[0m 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'
- python : Traceback (most
- recent call last):
- At line:1 char:1
- + python -c "from
- ultralytics import YOLO; YO
- LO('best.pt').export(forma
- ...
- + ~~~~~~~~~~~~~~~~~~~~~~~~~
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ~~~~~~~~~~~~~~~~~
- + CategoryInfo
- : NotSpecified: (Tra
- ceback (most recent ca
- ll last)::String) [],
- RemoteException
- + FullyQualifiedErrorI
- d : NativeCommandError
-
- File "<string>", line 1,
- in <module>
- File "C:\Users\enzo\AppDa
- ta\Roaming\Python\Python312
- \site-packages\ultralytics\
- engine\model.py", line
- 712, in export
- return
- Exporter(overrides=args, _c
- allbacks=self.callbacks)(mo
- del=self.model)
- ^^^^^^^^^^^^^^^^
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Users\enzo\AppDa
- ta\Roaming\Python\Python312
- \site-packages\ultralytics\
- engine\exporter.py", line
- 596, in __call__
- f[5], keras_model =
- self.export_saved_model()
-
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Users\enzo\AppDa
- ta\Roaming\Python\Python312
- \site-packages\ultralytics\
- engine\exporter.py", line
- 254, in outer_func
- raise e
- File "C:\Users\enzo\AppDa
- ta\Roaming\Python\Python312
- \site-packages\ultralytics\
- engine\exporter.py", line
- 246, in outer_func
- f = inner_func(*args,
- **kwargs) # exported
- file/dir or tuple of
- (file/dir, *)
-
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Users\enzo\AppDa
- ta\Roaming\Python\Python312
- \site-packages\ultralytics\
- engine\exporter.py", line
- 1085, in export_saved_model
- shutil.rmtree(f) #
- delete output folder
- ^^^^^^^^^^^^^^^^
- File "C:\Python312\Lib\sh
- util.py", line 781, in
- rmtree
- return
- _rmtree_unsafe(path, onexc)
-
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Python312\Lib\sh
- util.py", line 635, in
- _rmtree_unsafe
- onexc(os.unlink,
- fullname, err)
- File "C:\Python312\Lib\sh
- util.py", line 633, in
- _rmtree_unsafe
- os.unlink(fullname)
- PermissionError: [WinError
- 32] The process cannot
- access the file because it
- is being used by another
- process: 'best_saved_model\
- \tmp_tflite_int8_calibratio
- n_images.npy'
|