UnicodeDeconderError in calculating energy using trained neural network

Issue #211 resolved
Yilin Yang created an issue

When I use trained neural networks to calculate some images, it returns error that:

File /amp/amp/descriptor/gaussian.py line 186, in calculate_fingerprints self.fingerprints.calculate_items(images, parallel=parallel, log=log)
File /amp/amp/utilities.py line 440, in calculate_items
d[key] = self.calc.calculate(images[key], key)
File /amp/amp/utilities.py line 337, in settiem 
if f.read() == pickle.dumps(value):
File /python3.6/encodings/ascii.py line 26, in decode 
return codecs.ascii_decode(input,
UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 0: ordinal not in range(128)

But for some other images, there is no error like it.

Comments (2)

  1. andrew_peterson repo owner

    I'm closing this for now as it's hard to decipher the error message, and we haven't seen anything of this order. If it continues to be a problem, please send an email to the amp-users mailing list; if it's a true bug we'll re-open the issue.

  2. Log in to comment