Skip to content

Commit

Permalink
Fixing a parser warning appearing in one of the gcmc examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
drivanov committed Feb 13, 2024
1 parent 8e6cbd6 commit 7953273
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/pytorch/gcmc/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,7 @@ def _load_raw_movie_info(self):
header=None,
names=["id", "title", "genres"],
encoding="iso-8859-1",

Check warning on line 691 in examples/pytorch/gcmc/data.py

View workflow job for this annotation

GitHub Actions / lintrunner

UFMT format

Run `lintrunner -a` to apply this patch.
engine='python',
)
genre_map = {ele: i for i, ele in enumerate(GENRES)}
genre_map["Children's"] = genre_map["Children"]
Expand Down

0 comments on commit 7953273

Please sign in to comment.