EscVM / OIDv4_ToolKit

Download and visualize single or multiple classes from the huge Open Images v4 dataset
GNU General Public License v3.0
798 stars 633 forks source link

error when running python main.py downloader #84

Open Niklaus28 opened 3 years ago

Niklaus28 commented 3 years ago

CMD : python main.py downloader --classes Football --type_csv train --limit 100

Error: Traceback (most recent call last): File "main.py", line 37, in bounding_boxes_images(args, DEFAULT_OID_DIR) File "C:\OIDv4_ToolKit\modules\bounding_boxes.py", line 60, in bounding_boxes_images df_val = TTV(csv_dir, name_file, args.yes) File "C:\OIDv4_ToolKit\modules\csv_downloader.py", line 21, in TTV df_val = pd.read_csv(CSV) File "C:\Users\haoji\Python38\lib\site-packages\pandas\io\parsers.py", line 686, in read_csv return _read(filepath_or_buffer, kwds) File "C:\Users\haoji\Python38\lib\site-packages\pandas\io\parsers.py", line 458, in _read data = parser.read(nrows) File "C:\Users\haoji\Python38\lib\site-packages\pandas\io\parsers.py", line 1186, in read ret = self._engine.read(nrows) File "C:\Users\haoji\Python38\lib\site-packages\pandas\io\parsers.py", line 2145, in read data = self._reader.read(nrows) File "pandas_libs\parsers.pyx", line 826, in pandas._libs.parsers.TextReader.read File "pandas_libs\parsers.pyx", line 869, in pandas._libs.parsers.TextReader._read_low_memory File "pandas_libs\parsers.pyx", line 2053, in pandas._libs.parsers._concatenate_chunks File "<__array_function__ internals>", line 5, in concatenate MemoryError: Unable to allocate 55.7 MiB for an array with shape (14610229,) and data type object

Please help, I followed the The AI Guy youtube video https://www.youtube.com/watch?v=_4A9inxGqRM

KartickVerma commented 3 years ago

SharedScreenshotoid

Facing the same problem, please help

minhlenhat-itr commented 3 years ago

have someone solved this problem yet?

rmadduku commented 3 years ago

I changed to python 3.7.4 64 bit, that worked for me