Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when running python main.py downloader #84

Open
Niklaus28 opened this issue Jul 29, 2020 · 3 comments
Open

error when running python main.py downloader #84

Niklaus28 opened this issue Jul 29, 2020 · 3 comments

Comments

@Niklaus28
Copy link

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
Copy link

SharedScreenshotoid

Facing the same problem, please help

@minhlenhat-itr
Copy link

have someone solved this problem yet?

@rmadduku
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants