摘要: pip3 --default-timeout=1000 install torch 1.2.0 torchvision 0.4.0 -f https://download.pytorch.org/whl/torch_stable.html -i https://pypi.mirrors.ustc.e 阅读全文
posted @ 2019-08-23 14:08 交流_QQ_2240410488 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 2.4 尝试pip --default-timeout=1000 install https://download.pytorch.org/whl/cu100/torch-1.1.0-cp36-cp36m-win_amd64.whl python3 -m pip3 install torch 1.2 阅读全文
posted @ 2019-08-23 14:02 交流_QQ_2240410488 阅读(605) 评论(0) 推荐(0) 编辑
摘要: data=[[[0],1]]df = pd.DataFrame(data, columns=['col1', 'col2']) df = pd.DataFrame({‘col1’:‘’,‘col2’:‘’},index=【0】) 阅读全文
posted @ 2019-08-23 13:53 交流_QQ_2240410488 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 将逗号分隔的字符串转换为Python中的列表 给定一个字符串: 它是由逗号分隔的几个值的序列: mStr = '192.168.1.1,192.168.1.2,192.168.1.3' 如何将字符串转换为列表? mStr = ['192.168.1.1', '192.168.1.2', '192.1 阅读全文
posted @ 2019-08-23 10:32 交流_QQ_2240410488 阅读(2258) 评论(0) 推荐(0) 编辑