DReg-NeRF icon indicating copy to clipboard operation
DReg-NeRF copied to clipboard

Runtime Error

Open yejun688 opened this issue 1 year ago • 0 comments

Great work! an error occurred. details as follow:

2 Section: Fetch 3D Models from Objaverse, when bash objaverse_to_blender.sh / print(selected_uids) occurred bugs appear : ['S', 't', 'i', 'l', 'l', '', 'L', 'i', 'f', 'e', '', '_', 'L', 'e', 'm', 'o', 'n'........... It seems wrong to do this, but I'm going to change the code like this

def load_obj_uids(json_file):
    selected_uids = []
    with open(json_file, 'r') as f:
        data = json.load(f)
    
    for key, item in data.items():
        #  selected_uids += item
            selected_uids += keys
    
    return selected_uids
def load_obj_uids(json_file):
    selected_uids = []
    with open(json_file, 'r') as f:
        data = json.load(f)
    
    for key, item in data.items():
        uid = key.split('/')[0]
        selected_uids.append(uid)
    
    return selected_uids

Its Okay! But internet problem urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution> Then try to hf-mirror.com replace huggface.co,also some thing happen File

"/home/shuaige/anaconda3/envs/blender/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 401: Unauthorized

yejun688 avatar Jan 11 '24 04:01 yejun688