TransVCL icon indicating copy to clipboard operation
TransVCL copied to clipboard

test_TransVCL.sh working problem

Open zeynepiskndr opened this issue 2 years ago • 0 comments

bash scripts/test_TransVCL.sh I try to test using this command, but the process does not continue after a while. I examined the run.py script and got the following results. I found the place where the code got stuck, but the process cannot continue because there is no result as normal. but I don't know how to solve this. A normal batch_list should look like this (this is what I looked at many previous results)

batch_list
[(tensor([[-0.0366, 0.0214, -0.0635, ..., -0.0258, -0.0224, 0.0307],
         [-0.0505, 0.0097, 0.0344, ..., 0.0241, -0.0995, -0.0997],
         [ 0.0711, 0.1108, 0.0279, ..., -0.0076, -0.1663, 0.1011],
         ...,
         [-0.0180, 0.0387, -0.0515, ..., -0.0321, 0.0301, 0.1143],
         [ 0.0748, 0.1202, -0.0374, ..., 0.0865, 0.0499, 0.0246],
         [ 0.1007, 0.0510, -0.0654, ..., 0.0563, 0.0356, 0.1098]]), tensor([[-0.0629, -0.0461, -0.0460, ..., 0.0546, -0.0297, 0.0546],
         [-0.0663, -0.0382, -0.0348, ..., 0.0366, -0.0162, 0.0745],
         [-0.0403, -0.0558, 0.0789, ..., 0.0715, 0.0825, 0.0564],
         ...,
         [ 0.0000, 0.0000, 0.0000, ..., 0.0000, 0.0000, 0.0000],
         [ 0.0000, 0.0000, 0.0000, ..., 0.0000, 0.0000, 0.0000],
         [ 0.0000, 0.0000, 0.0000, ..., 0.0000, 0.0000, 0.0000]]), tensor([True, True, True, ..., True, True, True]), tensor([ True, True, True, ..., False, False, False]), [tensor([1200]), tensor([232])], '87825feb504941d79ccbf4b9808f867a-faf3a40cab6e4369bd7d72b167bd1fbe_0_0')]

but the batch_list where the code stops is like this, the tensor([[ 0.0845, -0.0195, -0.0312, ..., 0.0433, 0.0740, -0.0570], part at the end is extra and the process does not continue.

batch_list
[(tensor([[-0.0366, 0.0214, -0.0635, ..., -0.0258, -0.0224, 0.0307],
         [-0.0505, 0.0097, 0.0344, ..., 0.0241, -0.0995, -0.0997],
         [ 0.0711, 0.1108, 0.0279, ..., -0.0076, -0.1663, 0.1011],
         ...,
         [-0.0180, 0.0387, -0.0515, ..., -0.0321, 0.0301, 0.1143],
         [ 0.0748, 0.1202, -0.0374, ..., 0.0865, 0.0499, 0.0246],
         [ 0.1007, 0.0510, -0.0654, ..., 0.0563, 0.0356, 0.1098]]), tensor([[-0.0629, -0.0461, -0.0460, ..., 0.0546, -0.0297, 0.0546],
         [-0.0663, -0.0382, -0.0348, ..., 0.0366, -0.0162, 0.0745],
         [-0.0403, -0.0558, 0.0789, ..., 0.0715, 0.0825, 0.0564],
         ...,
         [ 0.0000, 0.0000, 0.0000, ..., 0.0000, 0.0000, 0.0000],
         [ 0.0000, 0.0000, 0.0000, ..., 0.0000, 0.0000, 0.0000],
         [ 0.0000, 0.0000, 0.0000, ..., 0.0000, 0.0000, 0.0000]]), tensor([True, True, True, ..., True, True, True]), tensor([ True, True, True, ..., False, False, False]), [tensor([1200]), tensor([232])], '87825feb504941d79ccbf4b9808f867a-faf3a40cab6e4369bd7d72b167bd1fbe_0_0'), (tensor([[ 0.0845, -0.0195, - 0.0312, .. ., 0.0433, 0.0740, -0.0570],

What should I do to make the code continue and work?

zeynepiskndr avatar Jan 19 '24 06:01 zeynepiskndr