lood339 / SCCvSD

Sports Camera Calibration via Synthesic Data
BSD 2-Clause "Simplified" License
71 stars 19 forks source link

The error: network_train.sh: line 10: 897746 Killed #26

Open alex-coch opened 2 years ago

alex-coch commented 2 years ago

Hello,

I started 'network_train.sh' and got the following error:

(base) alex@alex-coch:~/SkyScout/SCCvSD/python/deep$ bash network_train.sh random seed is 0 Note: assume input image resolution is 180 x 320 (h x w) Randomly paired data are generated. Learning from scratch computation device: cpu network_train.sh: line 10: 897746 Killed python network_train.py --train-file '../../data/train_data_10k.mat' --cuda-id 0 --lr 0.01 --num-epoch 10 --batch-size 64 --num-batch 128 --random-seed 0 --resume '' --save-name 'network.pth'

And accordingly, I didn't get pth-flile as an output.

And then the next error:

(base) alex@alex-coch:~/SkyScout/SCCvSD/python$ python demo.py --feature-type 'HoG' --query-index 0 Traceback (most recent call last): File "/home/alex/anaconda3/lib/python3.9/site-packages/scipy/io/matlab/mio.py", line 39, in _open_file return open(file_like, mode), True FileNotFoundError: [Errno 2] No such file or directory: '../data/features/database_camera_feature_HoG.mat'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/alex/SkyScout/SCCvSD/python/demo.py", line 34, in data = sio.loadmat('../data/features/database_camera_feature_HoG.mat') File "/home/alex/anaconda3/lib/python3.9/site-packages/scipy/io/matlab/mio.py", line 224, in loadmat with _open_file_context(file_name, appendmat) as f: File "/home/alex/anaconda3/lib/python3.9/contextlib.py", line 119, in enter return next(self.gen) File "/home/alex/anaconda3/lib/python3.9/site-packages/scipy/io/matlab/mio.py", line 17, in _open_file_context f, opened = _open_file(file_like, appendmat, mode) File "/home/alex/anaconda3/lib/python3.9/site-packages/scipy/io/matlab/mio.py", line 45, in _open_file return open(file_like, mode), True FileNotFoundError: [Errno 2] No such file or directory: '../data/features/database_camera_feature_HoG.mat'

I don't GPU if it matters. How can I handle with this error?

Best, Alex