Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

which version used for numba #19

Closed
JayeshGridScape opened this issue Oct 5, 2020 · 4 comments
Closed

which version used for numba #19

JayeshGridScape opened this issue Oct 5, 2020 · 4 comments

Comments

@JayeshGridScape
Copy link

we face issue in executing: resampling.py
my numba lib version is 0.51.2
OS: Windows 10
Python 3.7

Error :
Traceback (most recent call last):
File "resampling.py", line 203, in
resImg, resMsk = rectification(distortedImg, flow)
File "resampling.py", line 194, in rectification
iterSearch[blockspergrid, threadsperblock](padu, padv, paddistorted, resultImg, maxIter, precision, resultMsk)
File "C:\Users\testing\AppData\Local\Programs\Python\Python37\lib\site-packages\numba\cuda\compiler.py", line 770, in call
self.stream, self.sharedmem)
File "C:\Users\testing\AppData\Local\Programs\Python\Python37\lib\site-packages\numba\cuda\compiler.py", line 861, in call
kernel = self.compile(argtypes)
File "C:\Users\testing\AppData\Local\Programs\Python\Python37\lib\site-packages\numba\cuda\compiler.py", line 935, in compile
kernel.bind()
File "C:\Users\testing\AppData\Local\Programs\Python\Python37\lib\site-packages\numba\cuda\compiler.py", line 576, in bind
self.func.get()
File "C:\Users\testing\AppData\Local\Programs\Python\Python37\lib\site-packages\numba\cuda\compiler.py", line 446, in get
ptx = self.ptx.get()
File "C:\Users\testing\AppData\Local\Programs\Python\Python37\lib\site-packages\numba\cuda\compiler.py", line 414, in get
arch = nvvm.get_arch_option(*cc)
File "C:\Users\testing\AppData\Local\Programs\Python\Python37\lib\site-packages\numba\cuda\cudadrv\nvvm.py", line 345, in get_arch_option
return 'compute
%d%d' % arch
TypeError: not enough arguments for format string

Looks to me this might be a version mismatch issue
can someone help with which version we need to use in the window and Linux?
Batter if provided all prerequisite lib name and version that needed that might help.

@xiaoyu258
Copy link
Owner

Here is the version of mine.
numba 0.40.0
numpy 1.19.1
scikit-image 0.17.2

@JayeshGridScape
Copy link
Author

@xiaoyu258 on which OS .. Window or Linux batter if you provide a version

@xiaoyu258
Copy link
Owner

Windows 10 on my PC

@JayeshGridScape
Copy link
Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants