Error when unit testing
Orig1n opened this issue · comments
I tried to run unit_test.sh and I got the following output
INFO: Creating directories...
2it [00:00, 6631.31it/s]
INFO: Making dataset...
100%|█████████████████████████████████████████████| 2/2 [00:00<00:00, 56.32it/s]
Program was not compiled with mesa. Recompile with make mesa.
/home/origin/codes/ldif-master/ldif/scripts/process_mesh_local.sh:行 59: 47657 已放弃 (核心已转储) ${gaps}/scn2img $mesh $dodeca_path $depth_dir -capture_depth_images $mesa -width 224 -height 224
Program was not compiled with mesa. Recompile with make mesa.
/home/origin/codes/ldif-master/ldif/scripts/process_mesh_local.sh:行 59: 47659 已放弃 (核心已转储) ${gaps}/scn2img $mesh $dodeca_path $depth_dir -capture_depth_images $mesa -width 224 -height 224
joblib.externals.loky.process_executor._RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/origin/anaconda3/envs/ldif/lib/python3.6/site-packages/joblib/externals/loky/process_executor.py", line 431, in _process_worker
r = call_item()
File "/home/origin/anaconda3/envs/ldif/lib/python3.6/site-packages/joblib/externals/loky/process_executor.py", line 285, in __call__
return self.fn(*self.args, **self.kwargs)
File "/home/origin/anaconda3/envs/ldif/lib/python3.6/site-packages/joblib/_parallel_backends.py", line 595, in __call__
return self.func(*args, **kwargs)
File "/home/origin/anaconda3/envs/ldif/lib/python3.6/site-packages/joblib/parallel.py", line 253, in __call__
for func, args, kwargs in self.items]
File "/home/origin/anaconda3/envs/ldif/lib/python3.6/site-packages/joblib/parallel.py", line 253, in <listcomp>
for func, args, kwargs in self.items]
File "meshes2dataset.py", line 104, in process_one
f'{dataset_directory}/{split}/{synset}/{name}/', skip_existing, log_level)
File "/home/origin/codes/ldif-master/ldif/scripts/make_example.py", line 63, in mesh_to_example
shell=True)
File "/home/origin/anaconda3/envs/ldif/lib/python3.6/subprocess.py", line 356, in check_output
**kwargs).stdout
File "/home/origin/anaconda3/envs/ldif/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '/home/origin/codes/ldif-master/ldif/scripts/process_mesh_local.sh /tmp/tmp.CfwvYtBPnT/input_meshes/train/animal/blub.ply /tmp/tmp.CfwvYtBPnT/output_dataset/train/animal/blub/ /home/origin/codes/ldif-master/ldif' returned non-zero exit status 134.
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "meshes2dataset.py", line 203, in <module>
app.run(main)
File "/home/origin/anaconda3/envs/ldif/lib/python3.6/site-packages/absl/app.py", line 299, in run
_run_main(main, args)
File "/home/origin/anaconda3/envs/ldif/lib/python3.6/site-packages/absl/app.py", line 250, in _run_main
sys.exit(main(argv))
File "meshes2dataset.py", line 151, in main
FLAGS.skip_existing, FLAGS.log_level) for f in tqdm.tqdm(files))
File "/home/origin/anaconda3/envs/ldif/lib/python3.6/site-packages/joblib/parallel.py", line 1042, in __call__
self.retrieve()
File "/home/origin/anaconda3/envs/ldif/lib/python3.6/site-packages/joblib/parallel.py", line 921, in retrieve
self._output.extend(job.get(timeout=self.timeout))
File "/home/origin/anaconda3/envs/ldif/lib/python3.6/site-packages/joblib/_parallel_backends.py", line 542, in wrap_future_result
return future.result(timeout=timeout)
File "/home/origin/anaconda3/envs/ldif/lib/python3.6/concurrent/futures/_base.py", line 432, in result
return self.__get_result()
File "/home/origin/anaconda3/envs/ldif/lib/python3.6/concurrent/futures/_base.py", line 384, in __get_result
raise self._exception
subprocess.CalledProcessError: Command '/home/origin/codes/ldif-master/ldif/scripts/process_mesh_local.sh /tmp/tmp.CfwvYtBPnT/input_meshes/train/animal/blub.ply /tmp/tmp.CfwvYtBPnT/output_dataset/train/animal/blub/ /home/origin/codes/ldif-master/ldif' returned non-zero exit status 134.