Issues in Keras-Ocr Running in GCP VM Notebook - keras

Im running Keras-OCR implementation from the following repository in the Notebook created in GCP VM
https://github.com/faustomorales/keras-ocr
The call to prediction_groups = pipeline.recognize(images) kills the Kernel. The error about Kernel has died is thrown.
The GCP VM is :
Version: common-cu113.m87
Based on: Debian GNU/Linux 10 (buster) (GNU/Linux 4.19.0-18-cloud-amd64 x86_64\n)
Can you suggest on how it that to fix this issue?

The issue was with opencv version. I had latest version which is 5.5.5. It worked when downgraded the version to 4.4

Related

Azure Site Recovery - CentOS 8.3 unsupported kernel

I'm trying to protect a vmware vm centos 8.3, but I'm getting unsupported kernel error.
The current kernel is 4.18.0-240 and I didn't find anywhere centos compatible kernel versions.
Mobility service is being installed in auto mode.
Configuration Server version: 9.42.1.0
Agent version: 5.1.6784.0
Thanks in advance.
Some kernel versions may have LIS components missing. You can try installing LIS components again and then try to enable the replication.
Reference:
Support matrix for vmware to azure
ASR CENTOS 8.3

ffi_prep_closure(): bad user_data (it seems that the version of the libffi library seen at runtime is different from the 'ffi.h' seen at compile-time)

I am running few python scripts on my raspberry pi4 running Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-1034-raspi aarch64)..But today all scripts stopped working and I'm getting this exception in all of them..
ffi_prep_closure(): bad user_data (it seems that the version of the libffi library seen at runtime is different from the 'ffi.h' file seen at compile-time)
I'm actually interested in the root cause of this but you can probably fix your issue by pinning the version of cffi to <=1.15.0.
A new version of cffi was published on 30 June which is, I presume, why you started seeing errors around that time.
I'm seeing the same error messages on Ubuntu 20.04 but not on Arch Linux.

Open3D-ML and pytorch

I’m currently trying to work with open3d ML and Pytorch. I followed the installation guide given in the Open3D-ML github. However when I try to import open3d.ml.torch it sends me the following error : Exception: Open3D was not built with PyTorch support!
I’m working with
python 3.8
open3d 0.12.0
pytorch 1.6.0
cuda 10.1
Windows 10
Do you have any idea of where that error comes from ?
It does not support for Windows at the moment. You can install Ubuntu on WSL (Window Subsystem for Linux) on Windows OS, and install open3d-ml on ubuntu.
Can you check if the output of the following commands on Windows Terminal (or PowerShell) is:
wsl cat /proc/version
Linux version 5.10.16.3-microsoft-standard-WSL2
wsl --list
Ubuntu-20.04 (Standard)
wsl -l -v
Ubuntu-20.04 Running 2
In my experience, Open3D-ML with CUDA only works if you are a Windows Insider, updated the WSL kernel correctly, and you are using Ubuntu in WSL.
Also, check if the folder /usr/lib/wsl/lib exists. If not, then CUDA won't work in WSL.

TensorFlow error using AVX instructions on Linux while working on Windows on the same machine

I'm using a Dual-Boot machine with Windows and Ubuntu and try to run a code which works well while windows is used but errors when Ubuntu is used.
The error says:
F tensorflow/core/platform/cpu_feature_guard.cc:37] The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine.
While running the same code using Windows it gives a similar warning but still runs.
Couldn't find any solution regarding to the problem on the net.
System specifications:
Ubuntu 18.10
Python 2.7.15+
TensorFlow 1.12.0

Is Ubuntu 18.04.1 LTS compatible with Yocto Sumo 2.5.1?

I am relatively new to the Yocto project but do have some experience. Since the documentation on yoctoproject.org does not specifically list Ubuntu 18.04 as a "validated" release I switched to 16.04 version. I am now considering to switch back to 18.04 but will not do so if there is a known reasonable risk that yocto will produce errors. Please share your experience if you are using yocto sumo on ubuntu 18.04.
Thank you, Pavel.
Ubuntu 18.04 works fine with latest revisions of Yocto 2.2 - 2.6.

Resources