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

File "box.pt" missing during warm up training #3

Open
hjiangav opened this issue Jul 17, 2022 · 3 comments
Open

File "box.pt" missing during warm up training #3

hjiangav opened this issue Jul 17, 2022 · 3 comments

Comments

@hjiangav
Copy link

Hello, I tried to do warm up training for renderer using train_renderer.py. I have downloaded the dataset and edited the configuration so that dataset can be correctly found. But after I executed the code, I got the following error:

Traceback (most recent call last):
File "train_renderer.py", line 18, in
trainer = Trainer(cfg_warmup)
File "/home/l7mp/NeuroFluid/trainer/basetrainer.py", line 31, in init
self.init_fn()
File "/home/l7mp/NeuroFluid/trainer/trainer_renderer.py", line 25, in init_fn
self.build_dataloader()
File "/home/l7mp/NeuroFluid/trainer/trainer_renderer.py", line 37, in build_dataloader
imgscale=self.options.TRAIN.scale, viewnames=self.train_view_names, split='train')
File "/home/l7mp/NeuroFluid/datasets/dataset.py", line 38, in init
self.read_box()
File "/home/l7mp/NeuroFluid/datasets/dataset.py", line 123, in read_box
box_info = joblib.load(osp.join(self.root_dir, bbox_path))
File "/home/l7mp/anaconda3/envs/fluid-env/lib/python3.7/site-packages/joblib/numpy_pickle.py", line 579, in load
with open(filename, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: './data_release/watercube/box.pt'

It seems that file 'box.pt' is missing. Did I do something wrong here, or this file has not been released? Thank you for helping!

@syguan96
Copy link
Owner

Opzz ... Thanks for your reminder! You can download it from here.
I will revise this error in the readme tomorrow.

@hjiangav
Copy link
Author

Thank you for the file, the problem is now solved. By the way, what is the use of 'box.pt'? I notice that it contains huge data.

@syguan96
Copy link
Owner

I save the normal direction and vertices of the container of fluid.

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