-
Notifications
You must be signed in to change notification settings - Fork 167
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
bugs in utils/egogesture_json.py #83
Comments
File "utils/egogesture_json.py", line 86, in <module>
val_csv_path, dst_json_path)
File "utils/egogesture_json.py", line 53, in convert_egogesture_csv_to_activitynet_json
train_database = convert_csv_to_dict(train_csv_path, 'training', labels)
File "utils/egogesture_json.py", line 9, in convert_csv_to_dict
data = pd.read_csv(csv_path, delimiter=' ', header=None)
File "/home/cuge/anaconda3/envs/gesture/lib/python3.6/site-packages/pandas/io/parsers.py", line 685, in parser_f
return _read(filepath_or_buffer, kwds)
File "/home/cuge/anaconda3/envs/gesture/lib/python3.6/site-packages/pandas/io/parsers.py", line 463, in _read
data = parser.read(nrows)
File "/home/cuge/anaconda3/envs/gesture/lib/python3.6/site-packages/pandas/io/parsers.py", line 1154, in read
ret = self._engine.read(nrows)
File "/home/cuge/anaconda3/envs/gesture/lib/python3.6/site-packages/pandas/io/parsers.py", line 2059, in read
data = self._reader.read(nrows)
File "pandas/_libs/parsers.pyx", line 881, in pandas._libs.parsers.TextReader.read
File "pandas/_libs/parsers.pyx", line 896, in pandas._libs.parsers.TextReader._read_low_memory
File "pandas/_libs/parsers.pyx", line 950, in pandas._libs.parsers.TextReader._read_rows
File "pandas/_libs/parsers.pyx", line 937, in pandas._libs.parsers.TextReader._tokenize_rows
File "pandas/_libs/parsers.pyx", line 2132, in pandas._libs.parsers.raise_parser_error
pandas.errors.ParserError: Error tokenizing data. C error: Expected 4 fields in line 287, saw 5 |
1st problem:
2nd problem:
|
Hello @cuge1995, were you able to run this code? thanks @ghost for fixing this issue but still I'm not able to run the main.py file. =it gives me error as follows: Traceback (most recent call last): (user_interface) C:\Users\PRASH\Project_3D_design\Real-time-GesRec-master> |
'DataFrame' object has no attribute 'ix'
The text was updated successfully, but these errors were encountered: