摘要: https://ipgys.com/github/ https://github.puboat.com/ 替换 https://github.com/ 阅读全文
posted @ 2023-08-01 20:19 wioponsen 阅读(31) 评论(0) 推荐(0)
摘要: 有时候编译自定义cuda op的时候可能需要先关联下环境,麻烦 ```bash export CUDA_HOME=your/cuda/path export CUDA_TOOLKIT_ROOT_DIR=$CUDA_HOME export LD_LIBRARY_PATH="$CUDA_HOME/ext 阅读全文
posted @ 2023-07-21 10:32 wioponsen 阅读(28) 评论(0) 推荐(0)
摘要: ref:https://blog.csdn.net/tywwwww/article/details/127445412 阅读全文
posted @ 2023-07-19 15:28 wioponsen 阅读(43) 评论(0) 推荐(0)
摘要: ref: 1. https://www.jianshu.com/p/4f063795ffdf 2. http://www.ruanyifeng.com/blog/2011/05/how_to_choose_free_software_licenses.html ![](https://img2023 阅读全文
posted @ 2023-06-27 14:08 wioponsen 阅读(22) 评论(0) 推荐(0)
摘要: Setting -> Editor -> File and Code Templates Python Script ```python # -*- coding: utf-8 -*- # @FileName: ${NAME}.py # @Description: TODO # @Author : 阅读全文
posted @ 2023-06-15 10:30 wioponsen 阅读(15) 评论(0) 推荐(0)
摘要: ref: https://stackoverflow.com/questions/58119155/freezing-graph-to-pb-in-tensorflow2 阅读全文
posted @ 2023-03-15 14:03 wioponsen 阅读(25) 评论(0) 推荐(0)
摘要: ref:https://blog.csdn.net/zyhse/article/details/117417484 解决办法: 打开xxx.vcxproj文件,搜索“Globals”在文件中找到<PropertyGroup Label=“Globals”, 然后在这个节点的最后加一句 <Prefer 阅读全文
posted @ 2023-02-06 16:53 wioponsen 阅读(2610) 评论(0) 推荐(0)
摘要: 两者都可以进行文件遍历, 区别在于glob返回绝对完整路径,而os.listdir返回的是文件名。可以通过一些写法实现等价 但是在数据较多的情况, glob的效率明显低于listdir,可能正则表达式不如直接的 endswith、startswith、in 这类操作效率高。 imgs = glob. 阅读全文
posted @ 2022-11-09 17:08 wioponsen 阅读(682) 评论(0) 推荐(0)
摘要: ref: https://blog.csdn.net/weixin_39972777/article/details/111103053 在使用rm * 命令删除文件的时候, 会提示参数列表过大, 此时我们可以使用如下方法: 递归删除 find [path] -name ["*"] -print0| 阅读全文
posted @ 2022-11-08 15:03 wioponsen 阅读(122) 评论(0) 推荐(0)
摘要: 转载注明来源:https://www.cnblogs.com/wioponsen/p/16499442.html 0 要求 系统更新到2004以上, 我这里用的 21H2 cpu虚拟化启用,任务管理器->cpu->虚拟化查看,如果没开,进入bios开启 升级内核:https://wslstorest 阅读全文
posted @ 2022-07-20 18:44 wioponsen 阅读(731) 评论(0) 推荐(0)