How to restart virtual machine?

风流意气都作罢 提交于 2019-12-03 10:03:16

问题


If I want to run another version of tensorflow or keras, then I can install the same with specific version. But after that I want to rollback to latest version, and install tensorflow again with latest version say 1.6.0rc, it is installing, but when I check the version again, it is still pointing to earlier version of tensorflow. How can I overwrite earlier version with latest one?

If I restart runtime, it is not affecting the software installed, it is only resetting application variables.

The other way is to restart the virtual machine itself, but how do I do that?

Or I need to close colab portal and wait for some time(not sure how long?) and then open the portal again with hope that it would start new virtual machine....

Any clarifications on these are greately appreciated


回答1:


To reset your backend, select the command 'Reset all runtimes...' from the Runtime menu.




回答2:


You can try to restart the entire VM with !kill -9 -1. Check this: enter link description here



来源:https://stackoverflow.com/questions/49001921/how-to-restart-virtual-machine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!