Face-Image-Motion-Model icon indicating copy to clipboard operation
Face-Image-Motion-Model copied to clipboard

Error Message from latest Torch release

Open wanfuse123 opened this issue 4 years ago • 0 comments

/content Cloning into 'first_order_model'... remote: Enumerating objects: 236, done. remote: Total 236 (delta 0), reused 0 (delta 0), pack-reused 236 Receiving objects: 100% (236/236), 71.46 MiB | 11.62 MiB/s, done. Resolving deltas: 100% (117/117), done. /content/first_order_model {"status":"ok","data":{"code":"SUyfwc","server":"srv-file22","uploadTime":1592252104,"totalSize":792810105,"views":7371,"hasZip":0,"files":{"0":{"name":"align.zip","size":3317,"md5":"78a1a8ebe547792500737df99bcfd415","mimetype":"application/x-zip-compressed","link":"https://srv-file22.gofile.io/download/SUyfwc/align.zip"},"1":{"name":"shape_predictor_68_face_landmarks.dat.bz2","size":64040097,"md5":"677a91476056de0507f1915adc7ef86a","mimetype":"application/octet-stream","link":"https://srv-file22.gofile.io/download/SUyfwc/shape_predictor_68_face_landmarks.dat.bz2"},"2":{"name":"vox-cpk.pth.tar","size":728766691,"md5":"b667124dd6e324f42c3df0b068b8c593","mimetype":"application/x-tar","link":"https://srv-file22.gofile.io/download/SUyfwc/vox-cpk.pth.tar"}}}}--2020-07-30 16:26:59-- https://srv-file22.gofile.io/download/SUyfwc/vox-cpk.pth.tar Resolving srv-file22.gofile.io (srv-file22.gofile.io)... 5.9.77.62 Connecting to srv-file22.gofile.io (srv-file22.gofile.io)|5.9.77.62|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 728766691 (695M) [application/x-tar] Saving to: ‘vox-cpk.pth.tar’

vox-cpk.pth.tar 100%[===================>] 695.01M 11.4MB/s in 64s

2020-07-30 16:28:05 (10.9 MB/s) - ‘vox-cpk.pth.tar’ saved [728766691/728766691]

--2020-07-30 16:28:06-- https://srv-file22.gofile.io/download/SUyfwc/shape_predictor_68_face_landmarks.dat.bz2 Resolving srv-file22.gofile.io (srv-file22.gofile.io)... 5.9.77.62 Connecting to srv-file22.gofile.io (srv-file22.gofile.io)|5.9.77.62|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 64040097 (61M) [application/x-bzip2] Saving to: ‘shape_predictor_68_face_landmarks.dat.bz2’

shape_predictor_68_ 100%[===================>] 61.07M 11.0MB/s in 7.3s

2020-07-30 16:28:15 (8.39 MB/s) - ‘shape_predictor_68_face_landmarks.dat.bz2’ saved [64040097/64040097]

--2020-07-30 16:28:17-- https://srv-file22.gofile.io/download/SUyfwc/align.zip Resolving srv-file22.gofile.io (srv-file22.gofile.io)... 5.9.77.62 Connecting to srv-file22.gofile.io (srv-file22.gofile.io)|5.9.77.62|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3317 (3.2K) [application/zip] Saving to: ‘align.zip’

align.zip 100%[===================>] 3.24K --.-KB/s in 0s

2020-07-30 16:28:18 (46.9 MB/s) - ‘align.zip’ saved [3317/3317]

Archive: align.zip inflating: align_images.py
inflating: face_alignment.py
inflating: landmarks_detector.py
Requirement already satisfied: ffmpeg in /usr/local/lib/python3.6/dist-packages (1.4) Requirement already satisfied: torchvision==0.5 in /usr/local/lib/python3.6/dist-packages (0.5.0) Requirement already satisfied: pillow>=4.1.1 in /usr/local/lib/python3.6/dist-packages (from torchvision==0.5) (7.0.0) Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from torchvision==0.5) (1.15.0) Requirement already satisfied: torch==1.4.0 in /usr/local/lib/python3.6/dist-packages (from torchvision==0.5) (1.4.0) Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (from torchvision==0.5) (1.18.5) Requirement already satisfied: torch==1.4 in /usr/local/lib/python3.6/dist-packages (1.4.0)

RuntimeError Traceback (most recent call last) in () 44 import cv2 45 from google.colab import files ---> 46 from demo import load_checkpoints 47 from demo import make_animation 48 from skimage import img_as_ubyte

11 frames /usr/local/lib/python3.6/dist-packages/torch/onnx/utils.py in register_custom_op_symbolic(symbolic_name, symbolic_fn, opset_version) 791 and sould start with a letter and contain only
792 alphanumerical characters" --> 793 .format(symbolic_name)) 794 ns, op_name = symbolic_name.split('::') 795 unaccepted_domain_names = ["onnx", "aten", "prim"]

RuntimeError: Failed to register operator torchvision::_new_empty_tensor_op. The symbolic name must match the format Domain::Name, and sould start with a letter and contain only alphanumerical characters

wanfuse123 avatar Jul 30 '20 16:07 wanfuse123