Skip to content
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

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

Open
Codefmeister opened this issue Oct 14, 2021 · 1 comment

Comments

@Codefmeister
Copy link

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants