#208·pifuhd

SO i replaced net.int to int and now get this......

Author: thespuzzyCreated Apr 13, 2024Updated May 14, 2024

So idk why all of a sudden this started happening but it used to work just fine now i get all these random error codes.......... so after replacing net.int to int i now get this error code.

net = PoseEstimationWithMobileNet() checkpoint = torch.load('checkpoint_iter_370000.pth', map_location='cpu') load_state(net, checkpoint)

get_rect(net.cuda(), [image_path], 512)


NameError Traceback (most recent call last) in <cell line: 5>() 3 load_state(net, checkpoint) 4 ----> 5 get_rect(net.cuda(), [image_path], 512)

in get_rect(net, images, height_size) 38 if len(pose_entries[n]) == 0: 39 continue ---> 40 pose_keypoints = np.ones((num_keypoints, 2), dtype=int32) * -1 41 valid_keypoints = [] 42 for kpt_id in range(num_keypoints):

NameError: name 'int32' is not defined