bing-jian / gmmreg

Implementations of the robust point set registration algorithm described in "Robust Point Set Registration Using Gaussian Mixture Models", Bing Jian and Baba C. Vemuri, IEEE Transactions on Pattern Analysis and Machine Intelligence, 2011, 33(8), pp. 1633-1645. For a Python implementation, please refer to http://github.com/bing-jian/gmmreg-python.
GNU General Public License v3.0
299 stars 96 forks source link

OSError: /tmp/0EuG7aQ2QUi7H-zbQy-CCg/0_vs_24/final_rigid.txt not found. #7

Open Codefmeister opened 3 years ago

Codefmeister commented 3 years ago

Hi there! Thanks for your code. And I wanna reproduce your result by your python script provided in the expts folder. However, every time I tried to run this script it would raise this Error: Details:

(cjq_PCT) cjq@lzy-PowerEdge-T640:~/2f92ffc8-5cb4-410e-a267-5f20ebf74ea1/cjq/Code/Gmm_Reg/expts$ python dragon_expts.py 
data_dir_orig: ../data/dragon_stand
working_dir: /tmp/0EuG7aQ2QUi7H-zbQy-CCg
config_tmpl: ./dragon_stand.ini
data_dir: /tmp/0EuG7aQ2QUi7H-zbQy-CCg/data_voxel_size_0.005
../C++/build/gmmreg_demo /tmp/0EuG7aQ2QUi7H-zbQy-CCg/0_vs_24.ini rigid
/bin/sh: 1: ../C++/build/gmmreg_demo: not found
Run time : 0.013058662414550781 seconds
Traceback (most recent call last):
  File "dragon_expts.py", line 297, in <module>
    main(args)
  File "dragon_expts.py", line 246, in main
    batch_processor.run_fixed_step(step)
  File "dragon_expts.py", line 172, in run_fixed_step
    self.process(i, j)
  File "dragon_expts.py", line 150, in process
    rigid_param = np.loadtxt(final_rigid)
  File "/home/oem/anaconda3/lib/python3.8/site-packages/numpy/lib/npyio.py", line 961, in loadtxt
    fh = np.lib._datasource.open(fname, 'rt', encoding=encoding)
  File "/home/oem/anaconda3/lib/python3.8/site-packages/numpy/lib/_datasource.py", line 195, in open
    return ds.open(path, mode, encoding=encoding, newline=newline)
  File "/home/oem/anaconda3/lib/python3.8/site-packages/numpy/lib/_datasource.py", line 535, in open
    raise IOError("%s not found." % path)
OSError: /tmp/0EuG7aQ2QUi7H-zbQy-CCg/0_vs_24/final_rigid.txt not found.
bing-jian commented 2 years ago

/bin/sh: 1: ../C++/build/gmmreg_demo: not found Looks like the binary was not generated or not in the expected folder.