AttentionSampler
AttentionSampler copied to clipboard
MXNetError: Check failed
Hi, I have performed all the necessary steps as mentioned in the readme section. Also, for mxnet I have installed using the command "pip install mxnet-cu101". I have performed all these steps in Google Colab. Everything works fine, but when running command "sudo bash train.sh", I got the following error:
[10:25:25] src/operator/nn/./cudnn/./cudnn_algoreg-inl.h:97: Running performance tests to find the best convolution algorithm, this can take a while... (set the environment variable MXNET_CUDNN_AUTOTUNE_DEFAULT to 0 to disable) sh: 1: nvcc: not found sh: 1: nvcc: not found Error in CustomOp.forward: Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/mxnet/operator.py", line 1005, in forward_entry aux=tensors[4]) File "/content/gdrive/My Drive/MobulaOP/mobula/glue/mxnet_glue.py", line 109, in forward out = self._forward(*in_data) File "./AttentionSampler/attention_sampler/attention_sampler.py", line 60, in forward mobula.func.map_step(N, attxi, index_y, stepx, att_size, out_size) File "/content/gdrive/My Drive/MobulaOP/mobula/func.py", line 264, in call using_async=using_async) File "/content/gdrive/My Drive/MobulaOP/mobula/func.py", line 145, in call func = self.loader(self, arg_types, ctx, **self.loader_kwargs) File "/content/gdrive/My Drive/MobulaOP/mobula/op/loader.py", line 499, in init _build_lib(cpp_fname, code_buffer, ctx, dll_fname) File "/content/gdrive/My Drive/MobulaOP/mobula/op/loader.py", line 237, in _build_lib source_to_so_ctx(build_path, srcs, target_name, ctx) File "/content/gdrive/My Drive/MobulaOP/mobula/building/build.py", line 167, in source_to_so_ctx buildin_cpp, buildin_o), compiler, cflags) File "/content/gdrive/My Drive/MobulaOP/mobula/building/build.py", line 41, in source_to_o run_command_parallel(commands) File "/content/gdrive/My Drive/MobulaOP/mobula/building/build_utils.py", line 97, in run_command_parallel raise RuntimeError(info) RuntimeError: Error, terminated :-(
Traceback (most recent call last):
File "train.py", line 57, in
Please, guide me in this and how I can detach these errors and run TASN successfully