摘要:
Pillow是PIL(暂不支持python3)下面的一个分支(https://pypi.python.org/pypi/Pillow/4.0.0),使用PIL直接用import Image,使用Pillow需要写from PIL import Image 参考... 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(30)
评论(0)
推荐(0)
摘要:
https://github.com/aishack/sifthttp://aishack.in/tutorials/implementing-sift-opencv/https://marcosnietoblog.wordpress.com/2012/07/... 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(29)
评论(0)
推荐(0)
摘要:
1-下载代码 git clone https://github.com/torch/distro.git ~/torch --recursivecd ~/torchbash install-deps./install.sh 2-切换编译器 sudo unlin... 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(169)
评论(0)
推荐(0)
摘要:
protoc config.proto --cpp_out=. 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(85)
评论(0)
推荐(0)
摘要:
editbox可以为eclipse中代码块着色editbox可以在eclipse neno的marketplace中找到editbox 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(21)
评论(0)
推荐(0)
摘要:
sudo apt-get updatesudo apt-get install --reinstall ubuntu-desktop 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(15)
评论(0)
推荐(0)
摘要:
1-删除模型变量 del model_define 2-清空CUDA cache torch.cuda.empty_cache() 3-步骤2(异步)需要一定时间,设置时延 time.sleep(5) 完整代码如下: del styler torch.cud... 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(398)
评论(0)
推荐(0)
摘要:
try: var_name except NameError: var_name = initialize 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(62)
评论(0)
推荐(0)
摘要:
sudo vim /etc/modprobe.d/blacklist-nouveau.conf#add the content blow blacklist nouveauoptions nouveau modeset=0sudo update-initra... 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(92)
评论(0)
推荐(0)
摘要:
# bytes object b = b"example"# str object s = "example" # str to bytes sb = bytes(s, encoding = "utf8") # bytes to str bs = ... 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(97)
评论(0)
推荐(0)

浙公网安备 33010602011771号