Traceback (most recent call last):


 "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/distributed/protocol/core.py", line 101, in loads

msg = loads_msgpack(small_header, small_payload)


 "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/distributed/protocol/core.py", line 193, in loads_msgpack

return msgpack.loads(payload, use_list=False, **msgpack_opts)


 "msgpack/_unpacker.pyx", line 161, in msgpack._unpacker.unpackb
TypeError: unpackb() got an unexpected keyword argument 'strict_map_key'

Traceback (most recent call last):


 "/home/chuan/anaconda3/envs/few-shot-new/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop

data = fetcher.fetch(index)


 "/home/chuan/anaconda3/envs/few-shot-new/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch

data = [self.dataset[idx] for idx in possibly_batched_index]


 "/home/chuan/anaconda3/envs/few-shot-new/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>

data = [self.dataset[idx] for idx in possibly_batched_index]


 "/home/chuan/few-shot-vid2vid/data/fewshot_pose_dataset.py", line 91, in __getitem__

idx, ref_size, img_params, self.ref_crop_coords[i])


 "/home/chuan/few-shot-vid2vid/data/fewshot_pose_dataset.py", line 129, in get_images

O, op, crop_coords, face_pts = self.get_image(op_path, size, params, crop_coords, input_type='openpose', ref_face_pts=ref_face_pts)


 "/home/chuan/few-shot-vid2vid/data/fewshot_pose_dataset.py", line 149, in get_image

opt.basic_point_only, opt.remove_face_labels, ppl_idx, ref_face_pts)


 "/home/chuan/few-shot-vid2vid/data/keypoint2img.py", line 48, in read_keypoints

pose_img = connect_keypoints(opt, pts, edge_lists, size, random_drop_prob, distort_points, basic_point_only, remove_face_labels)


 "/home/chuan/few-shot-vid2vid/data/keypoint2img.py", line 92, in connect_keypoints

curve_x, curve_y = interpPoints(x, y)


 "/home/chuan/few-shot-vid2vid/data/keypoint2img.py", line 309, in interpPoints

curve_x = np.linspace(x[0], x[-1], (x[-1]-x[0]))


 "<__array_function__ internals>", line 6, in linspace


 "/home/chuan/anaconda3/envs/few-shot-new/lib/python3.7/site-packages/numpy/core/function_base.py", line 121, in linspace

.format(type(num)))
TypeError: object of type <class 'numpy.float64'> cannot be safely interpreted as an integer.
