10 2022 档案

摘要:https://download.pytorch.org/whl/torch_stable.html 阅读全文
posted @ 2022-10-19 17:12 morein2008 编辑
摘要:torch进行GPU卡训练时,报错RuntimeError: Address already in use参考:https://www.it610.com/article/1279180977062559744.htm问题在于,TCP的端口被占用,一种解决方法是,运行程序的同时指定端口,端口号随意给 阅读全文
posted @ 2022-10-14 12:03 morein2008 编辑
摘要:Python解析Xml from lxml import etree def get_info_from_xml(xml_text): try: parser = etree.XMLParser(recover=True) tree = etree.fromstring(bytes(xml_text 阅读全文
posted @ 2022-10-13 15:31 morein2008 编辑