Skip to content

details about dataset .txt file encoding type. #69

Description

Can you please mention in what format the .txt files are encoded in the current datasets directory. I was trying out with my own custom dataset which I imported from pandas dataframe using both utf-8 and asci encoding. but I received the following error while running the train.sh script
File "/home/Social-STGCNN/utils.py", line 122, in init
data = read_file(path, delim)
File "/home/Social-STGCNN/utils.py", line 79, in read_file
for line in f:
File "/home/miniconda3/envs/newenv/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 3131: invalid start byte

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions