OSError: unknown file format
got this
/content/DAIN revise the unique id to a random numer 67519 Namespace(SAVED_MODEL=None, alpha=[0.0, 1.0], arg='./model_weights/67519-Sun-Jan-23-12-26/args.txt', batch_size=1, channels=3, ctx_lr_coe=1.0, datasetName='Vimeo_90K_interp', datasetPath='', dataset_split=97, debug=False, depth_lr_coe=0.001, doubleframe_distorted_pixel_ratio=0.002, doubleframe_distortion_threshold=20, dtype=<class 'torch.cuda.FloatTensor'>, end_frame=36, epsilon=1e-06, factor=0.2, filter_lr_coe=1.0, filter_size=4, flow_lr_coe=0.01, force=False, frame_input_dir='/content/DAIN/input_frames', frame_output_dir='/content/DAIN/output_frames', log='./model_weights/67519-Sun-Jan-23-12-26/log.txt', lr=0.002, mixer='normal', netName='DAIN_slowmotion', no_date=False, numEpoch=100, occ_lr_coe=1.0, patience=5, rectify_lr=0.001, resize_hotfix=False, save_path='./model_weights/67519-Sun-Jan-23-12-26', save_which=1, seed=1, start_frame=1, time_step=0.11988011988011989, uid=None, use_cuda=True, use_cudnn=1, weight_decay=0, workers=8) cudnn is used Interpolate 7 frames Traceback (most recent call last): File "colab_interpolate.py", line 64, in big_font = ImageFont.truetype(urlopen(font_url), size=24) File "/usr/local/lib/python3.7/dist-packages/PIL/ImageFont.py", line 648, in truetype return freetype(font) File "/usr/local/lib/python3.7/dist-packages/PIL/ImageFont.py", line 645, in freetype return FreeTypeFont(font, size, index, encoding, layout_engine) File "/usr/local/lib/python3.7/dist-packages/PIL/ImageFont.py", line 197, in init load_from_bytes(font) File "/usr/local/lib/python3.7/dist-packages/PIL/ImageFont.py", line 179, in load_from_bytes "", size, index, encoding, self.font_bytes, layout_engine OSError: unknown file format
on !python -W ignore colab_interpolate.py --netName DAIN_slowmotion --time_step {fps/TARGET_FPS} --start_frame 1 --end_frame {pngs_generated_count} --frame_input_dir '{FRAME_INPUT_DIR}' --frame_output_dir '{FRAME_OUTPUT_DIR}'
Source: baowenbo/DAIN