Skip to content

Commit

Permalink
Error in extract_features.py
Browse files Browse the repository at this point in the history
  • Loading branch information
debvrat committed Mar 22, 2023
1 parent 6c610cd commit 2607a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def __init__(self, seq_length=40, class_limit=None, image_shape=(224, 224, 3)):
@staticmethod
def get_data():
"""Load our data from file."""
with open(os.path.join('data', 'data_file.csv'), 'r') as fin:
with open(os.path.join('data', 'data_file.csv'), 'r', newline="\n") as fin:
reader = csv.reader(fin)
data = list(reader)

Expand Down

0 comments on commit 2607a75

Please sign in to comment.