<jupyter_start><jupyter_text><jupyter_code>from google.colab import drive
drive.mount('/content/gdrive', force_remount=True)
!pw
%ls gdrive/MyDrive/DeepDeblur-PyTorch-master/
#  = "gdrive/Shareddrives/CV_project/DeepVideoDeblurring_Dataset/quantitative_datasets"
current_dataset = "gdrive/Shareddrives/CV_project/DeepDeblur-PyTorch-master/Research/GOPRO_Large/test/GOPR0384_11_00.zip"
%cd gdrive/MyDrive/DeepDeblur-PyTorch-master/
def python_move():
  %cd gdrive/Shareddrives/CV_project/DeepDeblur-PyTorch-master
python_move()
!ls
print("current_dataset : ", current_dataset)
# !unzip "gdrive/Shareddrives/CV_project/DeepDeblur-PyTorch-master/Research/GOPRO_Large/test/GOPR0384_11_00.zip" -d "gdrive/Shareddrives/CV_project/DeepDeblur-PyTorch-master/Research/GOPRO_Large/test/GOPR0384_11_00/"
!python ./src/main.py --save_dir GOPRO_L1 --do_train false --do_test true --save_result all --dataset GOPRO_Large --load_epoch 1000 --start_epoch 1000 --end_epoch 1000
!python ./src/main.py --save_dir GOPRO_L1 --demo true --demo_input_dir ./Research/dataset/GOPRO_Large/test/GOPR0384_11_00/blur_gamma 
# This has the loss error which shows that training is happening. We need to only to evaluation first.
!python ./src/main.py --save_dir GOPRO_L1 --demo_input_dir ./Research/GOPRO_Large/test/GOPR0384_11_00/blur_gamma --demo_output_dir ../results/GOPRO_Large\test\GOPR0384_11_00\blur_gamma --device_type cpu
!python src/main.py --save_dir GOPRO_L1 --do_train false --do_test true --save_results all --dataset GOPRO_Large
!python src/main.py --save_dir GOPRO_L1 --do_train false --do_test true --save_result all --dataset GOPRO_Large --load_epoch 1000 --start_epoch 1000 --end_epoch 1000

!ls Research/
!mv Research/GOPRO_Large\ \(1\) Research/GOPRO_Large
!python src/main.py --save_dir GOPRO_L1 --demo true --demo_input_dir /content/drive/MyDrive/Ampviv/deblur/nah/DeepDeblur-PyTorch-master/dataset/GOPRO_Large/test/GOPR0384_11_00/blur_gamma
!python ./src/main.py --save_dir GOPRO_L1 --demo_input_dir ./Research/GOPRO_Large/test/GOPR0384_11_00/blur_gamma --demo_output_dir ../results/GOPRO_Large\test\GOPR0384_11_00\blur_gamma --device_type cpu<jupyter_output>/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py:481: UserWarning: This DataLoader will create 7 worker processes in total. Our suggested max number of worker in current system is 2, which is smaller than what this DataLoader is going to create. Please be aware that excessive worker creation might get DataLoader running slow or even freeze, lower the worker number to avoid potential slowness/freeze if necessary.
  cpuset_checked))
===> Loading demo dataset: Demo
Loading model from ../experiment/GOPRO_L1/models/model-1000.pt
Loading optimizer from ../experiment/GOPRO_L1/optim/optim-1000.pt
Loss function: 1*L1
Metrics: PSNR,SSIM
Loading loss record from ../experiment/GOPRO_L1/loss.pt
===> Initializing trainer
results are saved in ../results/GOPRO_LargetestGOPR0384_11_00blur_gamma
|                                                         | 0/0 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "./src/main.py", line 67, in <module>
    main()
  File "./src/main[...]
{'fraction_non_alphanumeric': 0.11177960734642178, 'fraction_numerical': 0.044331855604813175, 'mean_word_length': 4.493913043478261, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '289418', 'license': 'MIT', 'n_tokens_mistral': 1233, 'n_tokens_neox': 1103, 'n_words': 238, 'path': 'everything_again.ipynb', 'repo_name': 'Swagget/DeepDeblur-PyTorch', 'size': '3158'}