Source: [Wu Enda’s after class programming assignment] course 4 – convolutional neural network – fourth week assignment – face recognition
about np.set_ printoptions()
np.set_ Printing options (threshold = sys. Maxsize)
I executed it in vscode Python 3, with the following error:
valueerror: threshold must be non Nan, try sys. Maxsize for untrusted representation
According to the prompt:
Import sys library first Import sys
Import
Then change the original sentence to NP. Set_ printoptions(threshold = sys.maxsize)
Reference article: https://blog.csdn.net/qq_ 45068783/article/details/109405850
Read More:
- In pandas, dataframe and np.array The mutual transformation between the two
- Dataframe and np.array The mutual transformation of
- np.unique Usage of ()
- [Python] numpy library array splicing np.concatenate Detailed explanation and examples of official documents
- Pychar reported an error. Unable to set the python SDK in Python 3.8. This SDK appears to be invalid.
- Python problem: indenta tionError:expected an Error resolution of indented block
- Can’t find Python executable “D:\python3\python.exe”, you can set the PYTHON env variable.
- Cannot set up a python SDK Python 2.7. The SDK sees invalid
- Virtual host running ASP error resolution: HTTP/1.1 New Application Failed when allowSessionState is set to false in web.config
- python3 Error in sitecustomize; set PYTHONVERBOSE for traceback: NameError: name ‘modules_list’ …
- Uncaught typeerror: cannot set property ‘of null error resolution
- Run with Python console solution is set by default for all projects in pcharm
- In Python, import XXX does not report an error, but in IPython (Jupiter notebook)
- Bug001: error in gradle configuration environment variable: ERROR:JAVA_ Home is set to an invalid directory!
- Python about typeerror: required argument ‘mat’ (POS 2) not found error resolution
- After the vs2013 + OpenGL environment is set up, there is an error in running the first program
- Image input data check: Nan inf and do not exist
- Runtimeerror using Python training model: CUDA out of memory error resolution
- Python module learning-Paramiko-Use python to throw an exception: Authentication failed.
- Running Django (2.2) project in Python 3.7.9 reports an error