【Pytorch】预训练图像分类模型预测
第二次终于决定自己运行代码试试,在git clone时遇到如下问题:
BUG:
在使用git clone
时,遇到这样一个情况:
Cloning into 'Train_Custom_Dataset'...
fatal: unable to access 'https://github.com/TommyZihao/Train_Custom_Dataset.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
参考此链接执行以下语句来取消代理:
git config --global --unset https.https://github.com.proxy
git config --global --unset http.https://github.com.proxy
再次使用git clone
成功
接着运行代码都很顺利,尝试了在本地运行摄像头实时图像预测,就是预测的字体太大了,修改之后,我的第二次学习就愉快的结束了。