Closed alabaykazakh closed 1 year ago
Hi, this seems to be a problem with the graphical user interface... Did you try to launch the script via ssh? In that case: make sure to forward X (check out for example: https://unix.stackexchange.com/questions/12755/how-to-forward-x-over-ssh-to-run-graphics-applications-remotely) ... I hope that helps, best regards, Nils
hello,when i run your wave_test.py, and i already use your pre-trained model, i encounter this problem: superres_kernels[:,:,:,i::resolution_factor,j::resolution_factor] = kernels RuntimeError: The expanded size of the tensor (5) must match the existing size (6) at non-singleton dimension 1. Target sizes: [1, 5, 18, 2, 2]. Tensor sizes: [6, 18, 2, 2] can you give me some advices?
Hi Yuping, thanks for pointing out this issue! It should be fixed by now :) Best regards, Nils
First, I tried to install required packages to my environment and run the following command:
(ki1_vm) bash-4.2$ python wave_test.py --net=Wave_model --stiffness=10 --damping=0.1
I got the following error:
Then I tried to create a new environment as you mentioned in instructions
(my_cool_fluid_env) bash-4.2$ python wave_test.py --net=Wave_model --stiffness=10 --damping=0.1 --cuda=f
but got the following error: