OSError: [Errno 22] Invalid argument problem solved Problem Description Solution So where is the problem? Summarize Problem description When doing the SSD target detection algorithm, I encountered such an error in the predict.py file. //ERROR Traceback (most recent call last): File “D:/ssd-keras-fromCSDN-Parathyoid/predict.py”, line 7, in <module> image = Image.open(“?C:\Users\qw\Desktop\000000.jpg”) File “D:\anaconda\envs\py37\lib\site-packages\PIL\Image.py”, line 2809, in open […]
Tag: invalid-argument
[Solved] When the file is saved in python, OSError: [Errno 22] Invalid argument solution
1 Error content after code execution: 2 This kind of problem boils down to the processing of strings in the file (processing of newline ‘\ ‘, space ‘ ‘, carriage return ‘\r’) The purpose of 3 is to combine multiple lines of string type data into one line and output them for use Several forms […]
[Solved] Linux calls mmap strange error: Invalid argument
Background When using shared memory on Linux, the most commonly used method is to use mmap to map files: when writing a program a few days ago, the execution of mmap reported an error: ./test_mmap tmp.txt mmap: Invalid argument The procedure is as follows: #include <stdio.h> #include <sys/mman.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> int […]
[Solved] Greenplum Database Failure Analysis – semop(id=2000421076,num=11) failed: invalid argument
When the business installed the greenplum database, the master node frequently crashed, and my colleague checked the log and found the following errors: 2022-06-23 21:01:21.201568 CST,,,p52171,th-761145216,,,0,,,seg-1,,,,,”FATAL”,”XX000″,”no free slots in PMChildFlags array”,,,,,,,0,,,”pmsignal.c”,173,”Stack trace: 1 …. ” Looking at the above error report, it feels incredible. There is no free slot in the PMChildFlags array. The error […]