When collecting Asian faces for model validation, run the following code:
python validate_on_lfw.py ../data/AsiaStar_160 ../20180402-114759 --lfw_pairs ../data/pairs_AsiaStar.txt
The error is as follows:
AssertionError: The number of LFW images must be an integer multiple of the LFW batch size
The number of pictures must be an integral multiple of the batch size. Batch size is 100, so the number of pictures must be an integral multiple of 100. In generating pairs. TXT, there must be 100 times of sample pairs.
Read More:
- [Solved] wsgiref make_server Error: AssertionError: write() argument must be a bytes instance
- [Solved] Converting IU to py using pyuic5 – O reports an error importerror: DLL load failed while importing qtcore: the specified module cannot be found.
- [Solved] TVM operate error: TVMError: AssertionError
- [Solved] SyntaxError: Generator expression must be parenthesized (widgets.py, line 152)
- [Solved] supervisor Error: /usr/local/lib/python2.7/dist-packages/pkg_resources/py2_warn.py:22: UserWarning: Setuptools will stop working on Python 2
- Python installs virtualenv through PIP and always reports an error: response.py“, line 438, in _error_catcher yield
- RuntimeError: Non RGB images are not supported [How to Fix]
- [Solved] Python AssertionError: MMCV==1.1.0 is used but incompatible. Please install mmcv>=1.0.5, <=1.0.5.
- [Solved] CUDA unknown error – this may be due to an incorrectly set up environment
- Python Kmeans Error: ConvergenceWarning: Number of distinct clusters (99) found smaller than n_clusters (100).
- [Solved] main.py: error: the following arguments are required:
- [Solved] Python-selenium locates an element cannot be clicked error: ElementClickInterceptedException
- Set the maximum number of Postgres connections Error [How to Solve]
- [Solved] train.py: error: the following arguments are required: –XXXX
- [Solved] Command “python setup.py egg_info” failed with error code 1
- Command “/usr/bin/python -u -c “import setuptools, tokenize;__file__=‘/tmp/pip-cus9V0-build/setup.py
- Python pyqt5 ui Generate .py File Error [How to Solve]
- Pip3 install Mysqlclient Error: Command “python setup.py egg_info“ failed with error
- [Solved] urllib.error.URLError: <urlopen error [SSL: WRONG_VERSION_NUMBER] wrong version number