Closed mindmad closed 1 year ago
I have the same problem, how to solve it? @qinnzou @mindmad
You may need to check the path of the trained model. I
ywx980615 commented on Dec 31, 2021 I have tried a piece of code from Zhihu to solve this problem https://zhuanlan.zhihu.com/p/54389036?tdsourcetag=s_pctim_aiomsg The full code block is :
! npm install -g localtunnel get_ipython().system_raw('python3 -m pip install visdom') get_ipython().system_raw('python3 -m visdom.server -port 8097 >> visdomlog.txt 2>&1 &') get_ipython().system_raw('lt --port 8097 >> url.txt 2>&1 &') import time time.sleep(5) ! cat url.txt import visdom time.sleep(5) vis = visdom.Visdom(port='8097') print(vis) time.sleep(3) vis.text('testing') ! cat visdomlog.txt
I try this code in colab and insert it before test.py. It solve the problem of socket connection error.
Hello, @qinnzou I am faceing this problem is it possible to get any clarification on what I should do?