torchxrayvision
torchxrayvision copied to clipboard
datasets.py SyntaxError: Non-ASCII character '\xe2' in file
Looks like we have some weird dashes -
showing up in the code that fails on some platforms.
I had made this edit to the top of datasets.py but I think I didn't check it in because I didn't know if it was the best solution:
#!/usr/bin/python
# -*- coding: utf-8 -*-
It is probably better to encode those characters and then decode them for maximum compatibility?