You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the retrosynthetic transformer and I encountered some problem. I created a jupyter notebook in the folder askcos-core, and I can successfully import the packages with code import time import unittest import askcos.global_config as gc import askcos.retrosynthetic.transformer as retro_trans
however, when I try to use the transformer with the following code t = retro_trans.RetroTransformer(load_all=False, use_db=True) t.load()
I got the error UnicodeDecodeError: 'utf-8' codec can't decode byte 0xce in position 169: invalid continuation byte
the detailes can also be seen in the figures
I am confused about this and could you please help me with it? Many thansk
The text was updated successfully, but these errors were encountered:
This looks like it might be a version issue with tensorflow, since it's failing to load the model (not elsewhere in the code); can you describe your environment?
Hi,
I am trying to use the retrosynthetic transformer and I encountered some problem. I created a jupyter notebook in the folder
askcos-core
, and I can successfully import the packages with codeimport time
import unittest
import askcos.global_config as gc
import askcos.retrosynthetic.transformer as retro_trans
however, when I try to use the transformer with the following code
t = retro_trans.RetroTransformer(load_all=False, use_db=True)
t.load()
I got the error
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xce in position 169: invalid continuation byte
the detailes can also be seen in the figures
![error1](https://private-user-images.githubusercontent.com/104338096/263472415-e6f1ce56-b086-4ead-8f7c-f423750eb70e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0Njc0ODEsIm5iZiI6MTczOTQ2NzE4MSwicGF0aCI6Ii8xMDQzMzgwOTYvMjYzNDcyNDE1LWU2ZjFjZTU2LWIwODYtNGVhZC04ZjdjLWY0MjM3NTBlYjcwZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QxNzE5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02ZmI5MTVhNmE1NGIyMjNlMTRkNTNkMGM1MzAwNWIxNzFhNTYxZjNhZjNjNTFlYTRjMjAzMWRiNGNlZTdiNmFlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.PYwVg-8Ne-hwytycEleTD5CW0VMD_OVSv5TOmZg_0wE)
![error2](https://private-user-images.githubusercontent.com/104338096/263472422-1060665e-70f2-461d-b074-4bbf9da76e07.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0Njc0ODEsIm5iZiI6MTczOTQ2NzE4MSwicGF0aCI6Ii8xMDQzMzgwOTYvMjYzNDcyNDIyLTEwNjA2NjVlLTcwZjItNDYxZC1iMDc0LTRiYmY5ZGE3NmUwNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QxNzE5NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03YzdjYzQyZTI1ZDE4MjRmOTg5OTJkZDA0ZDc0ZmNjZjVlZWM2YzdmYzMwNTRhOTI3YWYyOTE4MmFlYWU1ODlmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.RxGMGEJRSWiQb2Tn733DHxRvhUyy9PZw1Dmylhqr5c4)
I am confused about this and could you please help me with it? Many thansk
The text was updated successfully, but these errors were encountered: