I am running Deepface Analyze on images and getting below error, please assist.
OSError: Unable to open file (truncated file: eof = 49623168, sblock->base_addr = 0, stored_eof = 538771776)
Related
I have an image in my directory, say "image.png". This is the code I run:
from PIL import Image
img = Image.open("image.png")
img.show()
And the error message that pops up is: "FSPathMakeRef(/Applications/Preview.app) failed with error -43."
Anyone know what this means?
I'm following instructions to create_autonomy, but I keep getting the following error:
[create_2.launch] is neither a launch file in package [ca_driver] nor is [ca_driver] a launch file name. The traceback for the exception was written to the log file
Does anyone know what I'm doing wrong?
I´m trying to use pytesser but I´m getting this error:
IOError: [Errno 2] No such file or directory:
I´m using a mac machine and the code I´m using is this:
from pytesser import *
import os
im = Image.open('/screenshot.png')
text = image_to_string(im)
print text
Thanks in advance!
My malab installation folder is
C:\Program Files\MATLAB\R2010a\bin\matlab.exe
and I have added vlfeat to my current user folder:
C:\Users\Patrick\Documents\MATLAB\vlfeat-0.9.18\toolbox\vl_setup
I have created a startup file startup.m in this location
C:\Users\Patrick\Documents\MATLAB\startup.m
where I have added a command line
run('C:\Users\Patrick\Documents\MATLAB\vlfeat-0.9.18\toolbox\vl_setup')
but when I try to use its feature in another deafautnamefile.m and use some command like:
I = vl_impattern('roofs1') ;
image(I) ;
I = single(rgb2gray(I)) ;
[f,d] = vl_sift(I) ;
it gives the following error:
Invalid MEX-file 'C:\Program Files\MATLAB\vlfeat-0.9.18-bin\vlfeat-0.9.18\toolbox\mex\mexw32\vl_sift.mexw32': The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
Error in ==> sf at 4
[f,d] = vl_sift(I) ;
How can I resolve this?
I have downloaded and installed NCTOOLBOX into MATLAB (2013a) to read netcdf and grb files. As a test, I copied a netcdf, grb and grb2 file to a directory on my computer. This is placed within my script as:
pathnc = 'c:\test\era40_moda_200205.nc'
pathgrb = 'c:\test\era40_moda_200205.grb'
pathgrb2 = 'c:\test\multi_1.at_4m.dp.200607.grb2'
I used the following code to read the *.nc file:
nc = ncdataset(pathnc);
nc.variables
The code works great....with no error messages..and all variables listed..on netcdf files...... however, when I run it for the grb files using:
nc = ncdataset(pathgrb);
nc.variables
I get this very long list of errors:
2014-03-05 08:40:15,744 [main] WARN ucar.nc2.grib.grib2.Grib2Index - Grib2Index bad size = -1 for c:/test/multi_1.at_4m.dp.200607.grb2 index = c:\test\multi_1.at_4m.dp.200607.grb2.gbx9
Warning: Escape sequence '\m' is not valid. See 'help
sprintf' for valid escape sequences.
> In ncdataset>ncdataset.ncdataset at 89
In GRIB_and_NC_Reader_Prog at 14
Error using ncdataset (line 91)
Failed to open c: est
Error in GRIB_and_NC_Reader_Prog (line 14)
nc = ncdataset(pathgrb2);
Caused by:
Error using ncdataset (line 75)
Java exception occurred:
java.lang.RuntimeException: java.lang.NoSuchFieldError:
alwaysUseFieldBuilders...............etc, etc....ad nauseum...............
In case it was just a bad file, I tried the code on a different grb file and got the same results. Yes I have read the previous posts on reading grb with NCTOOLBOX...but still 'dead in the water.' I would greatly appreciate any insight to get my script reading grb and grb2 files.
I was getting a similar java error: java.lang.NoSuchFieldError:alwaysUseFieldBuilders. I tried running the same code in R2014a and it worked.