Open mengyaaa opened 5 years ago
File "mainOmniglot.py", line 1, in from data_loader import OmniglotNShotDataset ValueError: source code string cannot contain null bytes Can any help?Thank you...
open “data_loader.py” by vim, and you will find the “^@”, just delete them.
and if you use Pycharm or other IDEs, you can not observe this null byte.
from stackoverflow and worked -- sed -i 's/\x0//g' FILENAME
File "mainOmniglot.py", line 1, in
from data_loader import OmniglotNShotDataset
ValueError: source code string cannot contain null bytes
Can any help?Thank you...