-
Notifications
You must be signed in to change notification settings - Fork 31
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
image = rgb.numpy()[0].transpose((1, 2, 0))报错 #8
Comments
请问您用的计图版本是多少?
…---原始邮件---
发件人: ***@***.***>
发送时间: 2022年4月24日(周日) 下午3:47
收件人: ***@***.***>;
抄送: ***@***.***>;
主题: [Jittor/jrender] image = rgb.numpy()[0].transpose((1, 2, 0))报错 (Issue #8)
RuntimeError: Wrong inputs arguments, Please refer to examples(help(jt.numpy)).
Types of your inputs are:
self = Var,
args = (),
The function declarations are:
ArrayArgs fetch_sync()
请问这是什么意思
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
刚才看了计图论坛,再一次更新,用python -m pip install -U jittor更新之后
居然又出了新的错误
…------------------ 原始邮件 ------------------
发件人: "Jittor/jrender" ***@***.***>;
发送时间: 2022年4月24日(星期天) 下午3:48
***@***.***>;
***@***.******@***.***>;
主题: Re: [Jittor/jrender] image = rgb.numpy()[0].transpose((1, 2, 0))报错 (Issue #8)
请问您用的计图版本是多少?
---原始邮件---
发件人: ***@***.***>
发送时间: 2022年4月24日(周日) 下午3:47
收件人: ***@***.***>;
抄送: ***@***.***>;
主题: [Jittor/jrender] image = rgb.numpy()[0].transpose((1, 2, 0))报错 (Issue #8)
RuntimeError: Wrong inputs arguments, Please refer to examples(help(jt.numpy)).
Types of your inputs are:
self = Var,
args = (),
The function declarations are:
ArrayArgs fetch_sync()
请问这是什么意思
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
这是在做jrender中demo中都会运行处的错误 |
请问是什么错误呢,我们都测试过,在我们的环境上没有问题的,而且已经有不少同学可以运行了,您可以发一下错误信息我们帮您看看吗
…---原始邮件---
发件人: ***@***.***>
发送时间: 2022年4月24日(周日) 下午3:55
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [Jittor/jrender] image = rgb.numpy()[0].transpose((1, 2, 0))报错 (Issue #8)
这是在做jrender中demo中都会运行处的错误
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
拜托了,谢谢
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年4月24日(星期天) 下午3:57
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [Jittor/jrender] image = rgb.numpy()[0].transpose((1, 2, 0))报错 (Issue #8)
请问是什么错误呢,我们都测试过,在我们的环境上没有问题的,而且已经有不少同学可以运行了,您可以发一下错误信息我们帮您看看吗
---原始邮件---
发件人: ***@***.***>
发送时间: 2022年4月24日(周日) 下午3:55
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [Jittor/jrender] image = rgb.numpy()[0].transpose((1, 2, 0))报错 (Issue #8)
这是在做jrender中demo中都会运行处的错误
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
|
windowspip直接下载的,现在照论坛更新 为jittor1.3.3.10,测试通过了安装教程里的数据,但是运行渲染的demo,出现了更多问题,显示缺少模块? File "D:\可微渲染\基础教程jittor\jrender-main\demo1-render.py", line 115, in File "D:\可微渲染\基础教程jittor\jrender-main\demo1-render.py", line 64, in main File "D:\可微渲染\基础教程jittor\jrender-main\jrender\renderer\renderer.py", line 64, in render_mesh File "D:\anaconda\lib\site-packages\jittor_init_.py", line 864, in call File "D:\可微渲染\基础教程jittor\jrender-main\jrender\renderer\lighting\lighting.py", line 108, in execute File "D:\anaconda\lib\site-packages\jittor_init_.py", line 864, in call File "D:\可微渲染\基础教程jittor\jrender-main\jrender\renderer\lighting\lighting.py", line 75, in execute File "D:\可微渲染\基础教程jittor\jrender-main\jrender\renderer\lighting\directional_lighting.py", line 48, in directional_lighting File "D:\anaconda\lib\site-packages\jittor\nn.py", line 177, in relu AttributeError: module 'jittor' has no attribute 'ternary_out_hint' |
运行demo1.render目前的报错是这样的 RuntimeError: Wrong inputs arguments, Please refer to examples(help(jt.numpy)). Types of your inputs are: The function declarations are: Failed reason:[f 0425 23:57:01.686000 20 op.cc:165] Check failed: flags.get(NodeFlags::_cpu) Something wrong... Could you please report this issue? |
收到,谢谢您的反馈,您试试删除cache: |
这个算是gpu环境吗?我没装N卡
Message ID: ***@***.***>
|
demo1 目前是需要N卡环境的,其他设备我们正在适配当中 |
这是在有N卡的电脑上的结果,还是这一行报错
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年4月26日(星期二) 中午12:45
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [Jittor/jrender] image = rgb.numpy()[0].transpose((1, 2, 0))报错 (Issue #8)
demo1 目前是需要N卡环境的,其他设备我们正在适配当中
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
D:\python\jrender_main\jrender-main\data\obj/spot/spot_triangulated.obj 0%| | 0/90 [00:00<?, ?it/s] Types of your inputs are: The function declarations are: Failed reason:[f 0426 22:30:28.582000 08 parallel_compiler.cc:329] Error happend during compilation: Reason: [f 0426 22:30:28.572000 08 log.cc:608] Check failed ret(255) == 0(0) Run cmd failed: "C:\Users\lenovo.cache\jittor\jtcuda\cuda11.2_cudnn8_win\bin\nvcc.exe" "C:\Users\lenovo.cache\jittor\jt1.3.2\cl\py3.10.4\Windows-10-10.x3b\11thGenIntelRCx42\default\cu11.2.67\jit_opkey0_array_T_float32__o_0___opkey1_array_T_float32__o_0___opkey2_array_T_float32__o_3f8___hash_371610aa57c86386_op.cc" -shared -L"c:\users\lenovo\appdata\local\programs\python\python310\libs" -lpython310 -Xcompiler -EHa -Xcompiler -MD -Xcompiler -utf-8 -I"C:\Users\lenovo.cache\jittor\msvc\VC\include" -I"C:\Users\lenovo.cache\jittor\msvc\win10_kits\include\ucrt" -I"C:\Users\lenovo.cache\jittor\msvc\win10_kits\include\shared" -I"C:\Users\lenovo.cache\jittor\msvc\win10_kits\include\um" -DNOMINMAX -L"C:\Users\lenovo.cache\jittor\msvc\VC\lib" -L"C:\Users\lenovo.cache\jittor\msvc\win10_kits\lib\um\x64" -L"C:\Users\lenovo.cache\jittor\msvc\win10_kits\lib\ucrt\x64" -I"c:\users\lenovo\appdata\local\programs\python\python310\lib\site-packages\jittor\src" -I"c:\users\lenovo\appdata\local\programs\python\python310\include" -DHAS_CUDA -DIS_CUDA -I"C:\Users\lenovo.cache\jittor\jtcuda\cuda11.2_cudnn8_win\include" -I"c:\users\lenovo\appdata\local\programs\python\python310\lib\site-packages\jittor\extern\cuda\inc" -lcudart -L"C:\Users\lenovo.cache\jittor\jtcuda\cuda11.2_cudnn8_win\lib\x64" -L"C:\Users\lenovo.cache\jittor\jtcuda\cuda11.2_cudnn8_win\bin" -I"C:\Users\lenovo.cache\jittor\jt1.3.2\cl\py3.10.4\Windows-10-10.x3b\11thGenIntelRCx42\default\cu11.2.67" -L"C:\Users\lenovo.cache\jittor\jt1.3.2\cl\py3.10.4\Windows-10-10.x3b\11thGenIntelRCx42\default\cu11.2.67" -L"C:\Users\lenovo.cache\jittor\jt1.3.2\cl\py3.10.4\Windows-10-10.x3b\11thGenIntelRCx42\default" -l"jit_utils_core.cp310-win_amd64" -l"jittor_core.cp310-win_amd64" -x cu --cudart=shared -ccbin="C:\Users\lenovo.cache\jittor\msvc\VC_____\bin\cl.exe" --use_fast_math -w -I"c:\users\lenovo\appdata\local\programs\python\python310\lib\site-packages\jittor\extern/cuda/inc" -arch=compute_61 -code=sm_61 -o "C:\Users\lenovo.cache\jittor\jt1.3.2\cl\py3.10.4\Windows-10-10.x3b\11thGenIntelRCx42\default\cu11.2.67\jit_opkey0_array_T_float32__o_0___opkey1_array_T_float32__o_0___opkey2_array_T_float32__o_3f8___hash_371610aa57c86386_op.dll" -Xlinker -EXPORT:"?jit_run@FusedOp@jittor@@QEAAXXZ" |
是没有设置c++编译器的原因吗,我用pip在windows上装的 |
谢谢您的反馈,您方便加一下开发者交流群吗,我们可以远程帮您看看,群号
761222083
…---原始邮件---
发件人: ***@***.***>
发送时间: 2022年4月26日(周二) 晚上10:38
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [Jittor/jrender] image = rgb.numpy()[0].transpose((1, 2, 0))报错 (Issue #8)
D:\python\jrender_main\jrender-main\data\obj/spot/spot_triangulated.obj
0%| | 0/90 [00:00<?, ?it/s]
Drawing rotation: 0%| | 0/90 [00:00<?, ?it/s]
Drawing rotation: 0%| | 0/90 [00:39<?, ?it/s]
Traceback (most recent call last):
File "C:\Users\lenovo\AppData\Local\Programs\Python\Python310\lib\idlelib\run.py", line 578, in runcode
exec(code, self.locals)
File "D:\python\jrender_main\jrender-main\demo1-render.py", line 69, in
main()
File "D:\python\jrender_main\jrender-main\demo1-render.py", line 45, in main
image = rgb.numpy()[0].transpose((1, 2, 0))
RuntimeError: Wrong inputs arguments, Please refer to examples(help(jt.numpy)).
Types of your inputs are:
self= Var,
args= (),
The function declarations are:
ArrayArgs fetch_sync()
Failed reason:[f 0426 22:30:28.582000 08 parallel_compiler.cc:329] Error happend during compilation:
[Error] source file location:C:\Users\lenovo.cache\jittor\jt1.3.2\cl\py3.10.4\Windows-10-10.x3b\11thGenIntelRCx42\default\cu11.2.67\jit_opkey0_array_T_float32__o_0___opkey1_array_T_float32__o_0___opkey2_array_T_float32__o_3f8___hash_371610aa57c86386_op.cc
Compile fused operator(42/54)failed:[Op(0000029D6D82BC20:0:0:1:i0:o1:s0,array->0000029D7E93ED10),Op(0000029D6D82CC70:0:1:1:i0:o1:s0,array->0000029D7E940110),Op(0000029D6D82D840:0:1:1:i0:o1:s0,array->0000029D7E93E630),Op(0000029D6D82C7F0:0:0:1:i0:o1:s0,array->0000029D7E93FE90),Op(0000029D7E93E9F0:0:0:1:i1:o1:s0,broadcast_to->0000029D7E93F710),Op(0000029D7E93F7B0:0:1:1:i1:o1:s0,broadcast_to->0000029D7E93F030),Op(0000029D7E93DB90:0:1:1:i1:o1:s0,broadcast_to->0000029D7E93E1D0),Op(0000029D7E93E270:0:0:1:i1:o1:s0,broadcast_to->0000029D7E93EBD0),Op(0000029D6F39E150:1:0:1:i2:o1:s0,binary.greater->0000029D7E93FCB0),Op(0000029D6D82CB50:1:1:2:i3:o1:s0,ternary->0000029D7E93F2B0),Op(0000029D6F39FB50:1:1:2:i2:o1:s0,binary.subtract->0000029D7E9402F0),Op(0000029D6F39EFD0:1:1:2:i2:o1:s0,binary.pow->0000029D7E93F210),]
Reason: [f 0426 22:30:28.572000 08 log.cc:608] Check failed ret(255) == 0(0) Run cmd failed: "C:\Users\lenovo.cache\jittor\jtcuda\cuda11.2_cudnn8_win\bin\nvcc.exe" "C:\Users\lenovo.cache\jittor\jt1.3.2\cl\py3.10.4\Windows-10-10.x3b\11thGenIntelRCx42\default\cu11.2.67\jit_opkey0_array_T_float32__o_0___opkey1_array_T_float32__o_0___opkey2_array_T_float32__o_3f8___hash_371610aa57c86386_op.cc" -shared -L"c:\users\lenovo\appdata\local\programs\python\python310\libs" -lpython310 -Xcompiler -EHa -Xcompiler -MD -Xcompiler -utf-8 -I"C:\Users\lenovo.cache\jittor\msvc\VC\include" -I"C:\Users\lenovo.cache\jittor\msvc\win10_kits\include\ucrt" -I"C:\Users\lenovo.cache\jittor\msvc\win10_kits\include\shared" -I"C:\Users\lenovo.cache\jittor\msvc\win10_kits\include\um" -DNOMINMAX -L"C:\Users\lenovo.cache\jittor\msvc\VC\lib" -L"C:\Users\lenovo.cache\jittor\msvc\win10_kits\lib\um\x64" -L"C:\Users\lenovo.cache\jittor\msvc\win10_kits\lib\ucrt\x64" -I"c:\users\lenovo\appdata\local\programs\python\python310\lib\site-packages\jittor\src" -I"c:\users\lenovo\appdata\local\programs\python\python310\include" -DHAS_CUDA -DIS_CUDA -I"C:\Users\lenovo.cache\jittor\jtcuda\cuda11.2_cudnn8_win\include" -I"c:\users\lenovo\appdata\local\programs\python\python310\lib\site-packages\jittor\extern\cuda\inc" -lcudart -L"C:\Users\lenovo.cache\jittor\jtcuda\cuda11.2_cudnn8_win\lib\x64" -L"C:\Users\lenovo.cache\jittor\jtcuda\cuda11.2_cudnn8_win\bin" -I"C:\Users\lenovo.cache\jittor\jt1.3.2\cl\py3.10.4\Windows-10-10.x3b\11thGenIntelRCx42\default\cu11.2.67" -L"C:\Users\lenovo.cache\jittor\jt1.3.2\cl\py3.10.4\Windows-10-10.x3b\11thGenIntelRCx42\default\cu11.2.67" -L"C:\Users\lenovo.cache\jittor\jt1.3.2\cl\py3.10.4\Windows-10-10.x3b\11thGenIntelRCx42\default" -l"jit_utils_core.cp310-win_amd64" -l"jittor_core.cp310-win_amd64" -x cu --cudart=shared -ccbin="C:\Users\lenovo.cache\jittor\msvc\VC_____\bin\cl.exe" --use_fast_math -w -I"c:\users\lenovo\appdata\local\programs\python\python310\lib\site-packages\jittor\extern/cuda/inc" -arch=compute_61 -code=sm_61 -o "C:\Users\lenovo.cache\jittor\jt1.3.2\cl\py3.10.4\Windows-10-10.x3b\11thGenIntelRCx42\default\cu11.2.67\jit_opkey0_array_T_float32__o_0___opkey1_array_T_float32__o_0___opkey2_array_T_float32__o_3f8___hash_371610aa57c86386_op.dll" -Xlinker ***@***.***@Jittor@@QEAAXXZ"
换n卡之后的结果
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
你好,如果仅仅缺少gpu,有没有替代的方法,谢谢
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年4月26日(星期二) 中午12:15
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [Jittor/jrender] image = rgb.numpy()[0].transpose((1, 2, 0))报错 (Issue #8)
收到,谢谢您的反馈,您试试删除cache:rm -rf ~/.cache/jittor,然后更新一下jittor: python3.x -m pip install jittor -U.
另外,demo1 需要有gpu的环境才可以运行,否则会报错Op code doesn't have cpu version
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
RuntimeError: Wrong inputs arguments, Please refer to examples(help(jt.numpy)).
Types of your inputs are:
self = Var,
args = (),
The function declarations are:
ArrayArgs fetch_sync()
请问这是什么意思
The text was updated successfully, but these errors were encountered: