ZhangXiaoXuan2019
ZhangXiaoXuan2019
您好,感谢您及时地回复我们,以下是上面截图中更为完整的报错信息,我们对[Reason]后的信息进行了必要的换行 File "/home/xiaoxuan/PythonWorks/JNeRF_Fed_KD/FedML/fedml_api/standalone/fedavg/my_model_trainer.py", line 127, in local_model_render img, img_tar = self.render_img(client_s_idx) # in dataset, the image index is the client index File "/home/xiaoxuan/PythonWorks/JNeRF_Fed_KD/FedML/fedml_api/standalone/fedavg/my_model_trainer.py", line 167, in render_img pos, dir =...
您好!感谢您的建议。 我们这里所提出的这个运行时错误,**在且仅在调用render_test函数时才会出现**,在模型训练中调用sampler采样时,并无运行时错误。 报错的 `coords_out, rays_index, rays_numsteps,self.ray_numstep_counter = jt.code(` 一句,在` coords_out.compile_options = proj_options`一句之前,所以报错时` coords_out.compile_options = proj_options`一句并未执行,coords_out.compile_options 自然为空dict。 我们又尝试在报错语句前后都执行` coords_out.compile_options = proj_options`,一句,错误未排除。 您看您是否还有其他建议?:)
您好,感谢您的耐心解答。在”jt.code“一句之前添加`rays_o.compile_options = proj_options`不解决问题。 ray_sampler.py文件如下。事实上我们目前没有对ray_sampler.py文件,以及python/jnerf/下的任何文件做出修改。且采样器在训练时执行采样操作不报错,当且仅当在render_test函数中报错。 import os import jittor as jt from jittor import Function, exp, log import numpy as np import sys from jnerf.ops.code_ops.global_vars import global_headers, proj_options jt.flags.use_cuda = 1...