ValueError: File format not supported: filepath=/root/.cache/doctr/models/parseq-24cf693e/weights. Keras 3 only supports V3 .keras and .weights.h5 files, or legacy V1/V2 .h5 files. #1726
Replies: 3 comments
-
Hi @abhijeetsourav 👋, Line 57 in 9045dcf and Keras v2 :) |
Beta Was this translation helpful? Give feedback.
-
@felixdittrich92 |
Beta Was this translation helpful? Give feedback.
-
You can try:
Our Focus is more on Onnx here you can check out: Best, |
Beta Was this translation helpful? Give feedback.
-
Bug description
when i try to fine tune a pretrained parseq model on a custom dataset, I got the following error
How to fine tune a model on a custom dataset?
I want to generate a .pb file for running the model on edge devices?
So, I tried to save the model using model.save(<path/to/save>.keras)......
I don't know how to proceed further,
please help me to get the model file for running the parseq optimized model on edge devices, like android.....
Code snippet to reproduce the bug
Error traceback
Environment
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
I0000 00:00:1725892688.189874 9133 cuda_executor.cc:1015] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
I0000 00:00:1725892688.197677 9133 cuda_executor.cc:1015] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
I0000 00:00:1725892688.197925 9133 cuda_executor.cc:1015] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
DocTR version: 0.9.1a0
TensorFlow version: 2.17.0
PyTorch version: 2.4.0+cu121 (torchvision 0.19.0+cu121)
OpenCV version: 4.10.0
OS: Ubuntu 22.04.3 LTS
Python version: 3.10.12
Is CUDA available (TensorFlow): Yes
Is CUDA available (PyTorch): Yes
CUDA runtime version: 12.2.140
GPU models and configuration: GPU 0: Tesla T4
Nvidia driver version: 535.104.05
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.9.6
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.9.6
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.9.6
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.9.6
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.9.6
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.9.6
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.9.6
Deep Learning backend
is_tf_available: True
is_torch_available: True
Beta Was this translation helpful? Give feedback.
All reactions