isl-org / DeepLagrangianFluids

Code repository for "Lagrangian Fluid Simulation with Continuous Convolutions", ICLR 2020.
Other
212 stars 41 forks source link

*.msgpack.zst': No such file or directory #16

Closed GUT2060 closed 3 years ago

GUT2060 commented 3 years ago

Hi After running The data generation script in the datasets subfolder : ./create_data.sh , i get the following error for all sim folders generated under our_defautl_scenes : mv: cannot stat 'ours_default_data/sim*.msgpack.zst': No such file or directory
This leads to an empty valid and train folders under our_default_data . any guide line on how to solve this would be great

Thanks

GUT2060 commented 3 years ago

running the create_physics_records.py seperatly i get the following error : sim_0001 Traceback (most recent call last): File "*****/env36/lib/python3.6/site-packages/numpy/lib/shape_base.py", line 765, in array_split Ntotal = ary.shape[axis] AttributeError: 'NoneType' object has no attribute 'shape'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "create_physics_records.py", line 148, in main() File "create_physics_records.py", line 144, in main create_scene_files(scene_dir, scene_name, outfileprefix, args.splits) File "create_physics_records.py", line 38, in create_scene_files sublists = np.array_split(frames, splits) File "<__array_function__ internals>", line 6, in array_split File "****/env36/lib/python3.6/site-packages/numpy/lib/shape_base.py", line 767, in array_split Ntotal = len(ary) TypeError: object of type 'NoneType' has no len()

benjaminum commented 3 years ago

Hi @GUT2060 , can you check that you have SPlisHSPlasH 2.4.0 installed?

GUT2060 commented 3 years ago

Hi , @benjaminum , yes splishsplash 2.4 is installed i managed to solve the problem and i now have the msgpack.zst files under the our_default_data/valid and our_default_data/train folders i'm however running into another issue when running ./train_network_tf.py from the scripts folder : File "./../datasets/dataset_reader_physics.py", line 45, in iter box = data[0]['box'] IndexError: list index out of range

benjaminum commented 3 years ago

Did you solve this problem?

raynehe commented 1 year ago

@GUT2060 Hi, sorry to bother you. I'm runnig into the same problem, and I'm wondering if you could tell me how did you solve the problem "*.msgpack.zst': No such file or directory "? Many thanks!