Google Collab uses TF 2.0, my code was built using TF 1.0. Is there a way to run this code on google collab?
If you are trying to avoid converting the code
! pip uninstall tensorflow
! pip install tensorflow==1.0
will always works, or if you want the code to be able to run at the tf 2.0, check this to do the code migration
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.