yelantf / pylucid Goto Github PK
View Code? Open in Web Editor NEWLucid data dreaming in python.
License: MIT License
Lucid data dreaming in python.
License: MIT License
The pylucid code run much faster. But I found the generated images and annotations always keep the same within continuous frames. The results may be not enough diverse.
请问您是在什么操作系统平台建立环境的?win or linux or mac?
我在windows 10 conda 虚拟环境中建立该项目所需要的环境,一直没法成功,参照了网上其他人安装pycuda的方法,最后得到的错误提示如下:pytools.prefork.ExecError: error invoking 'nvcc --preprocess -arch sm_52 -m64 -Id:\anaconda3\envs\pylucid\lib\site-packages\pycuda\cuda C:\Users\yangd\AppData\Local\Temp\tmpok_wmx4n.cu --compiler-options -EP': [WinError 2] 系统找不到指定的文件。
pycuda ,opencv,numpy ,ms c++14.0 cudatoolkit 等我都安装好了。现在好像是提示显卡驱动没安装,
您有什么更好的建议吗?期待您的回信,谢谢
I use a pycuda-2018.1 and python 2.7, but when I run the code, I always get a error:
pycuda.driver.CompileError: nvcc compilation of /tmp/tmpY94Kcb/kernel.cu failed
[command: nvcc --cubin -arch sm_70 -I/usr/local/lib/python2.7/dist-packages/pycuda/cuda kernel.cu]
[stderr:
nvcc fatal : Value 'sm_70' is not defined for option 'gpu-architecture'
].
And I can not solve this problem from google.
你好,我在 win10 下运行 demo 的时候报错了,内容如下:
Traceback (most recent call last):
File ".\demo.py", line 11, in <module>
bg = paint(Iorg,np.array(Morg),False)
File "D:\code\pyLucid\patchPaint.py", line 60, in paint
pm.propagate(iters=match_iter,rand_search_radius=maxoff)
File "D:\code\pyLucid\PatchMatch\PatchMatchCuda.py", line 200, in propagate
get_blocks_for_dim(cols,threads)))
File "C:\Local\Programs\Python\Python35\lib\site-packages\pycuda\driver.py", line 405, in function_call
Context.synchronize()
pycuda._driver.LaunchError: cuCtxSynchronize failed: unspecified launch failure
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFree failed: unspecified launch failure
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFree failed: unspecified launch failure
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFree failed: unspecified launch failure
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFree failed: unspecified launch failure
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFree failed: unspecified launch failure
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFree failed: unspecified launch failure
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuMemFree failed: unspecified launch failure
PyCUDA WARNING: a clean-up operation failed (dead context maybe?)
cuModuleUnload failed: unspecified launch failure
请问是哪里的问题呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.