Skip to content

FileNotFoundError: [Errno 2] No such file or directory: '/cluster/balrog/jtang/3D-FUTURE-model/2924a537-18e9-428d-9922-ab1460e1f58b/raw_model_norm_pc_lat32.npz' #52

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

Open
StephenChen2016 opened this issue May 2, 2025 · 4 comments

Comments

@StephenChen2016
Copy link

Traceback (most recent call last):
File "generate_diffusion.py", line 472, in
main(sys.argv[1:])
File "generate_diffusion.py", line 339, in main
renderables, trimesh_meshes, model_jids = get_textured_objects_based_on_objfeats(
File "/mnt/h/Ubuntu/DiffuScene/scene_synthesis/utils.py", line 105, in get_textured_objects_based_on_objfeats
furniture = objects_dataset.get_closest_furniture_to_objfeats(
File "/mnt/h/Ubuntu/DiffuScene/scene_synthesis/datasets/threed_future_dataset.py", line 55, in get_closest_furniture_to_objfeats
mses[oi] = np.sum((oi.raw_model_norm_pc_lat32() - query_objfeat)**2, axis=-1)
File "/mnt/h/Ubuntu/DiffuScene/scene_synthesis/datasets/threed_front_scene.py", line 266, in raw_model_norm_pc_lat32
latent = np.load(self.raw_model_norm_pc_lat32_path)["latent"].astype(np.float32)
File "/home/chenyu/miniconda3/envs/diffuscene/lib/python3.8/site-packages/numpy/lib/npyio.py", line 417, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: '/cluster/balrog/jtang/3D-FUTURE-model/2924a537-18e9-428d-9922-ab1460e1f58b/raw_model_norm_pc_lat32.npz'
How to solve it, how can I change the location of "/cluster/balrog/jtang/"

@kunknubot
Copy link

I think that location is written in the .pkl file(preprocessed dataset) and it can't be changed,so you may have to do you own preprosessing

@Neal2020GitHub
Copy link

Neal2020GitHub commented May 9, 2025

Same problem. Have you solved it? @StephenChen2016

@tangjiapeng
Copy link
Owner

i feel it's a data path problem. you need to change to the data path in your own machine.

@tangjiapeng
Copy link
Owner

I think that location is written in the .pkl file(preprocessed dataset) and it can't be changed,so you may have to do you own preprosessing

if you download the preprocessed dataset from my gdrive link, then you can skip the data preprocessing. But you still need to change the data path in your own machine.

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

4 participants