bytedance / bytedance/Hi3DGen

crash when using NiRNE

Open
#1 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
91
Forks
9
PR merge metrics
No merged PRs in 30d

Description

I am not able to run the project when using NiRNE library. If i revert the Commit 019a940, I am able to run the app.
Using NiRNE I am getting :
the following error:
```
...\site-packages\torch\hub.py", line 145, in _parse_repo_info
repo_owner, repo_name = repo_info.split('/')
ValueError: not enough values to unpack (expected 2, got 1)
```
forcing torch.hub.load to get the local copy using
`torch.hub.load("NiRNE", "NiRNE",source="local", trust_repo=True, local_cache_dir='weights')`
i am getting the following error:

`huggingface_hub.errors.HFValidationError: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'weights\NiRNE'`

I am running it on windows 10.

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare commit 019a940 with its parent and trace how NiRNE is loaded on Windows 10. Start with the torch.hub.load call and the reported Hugging Face validation failure, then reproduce the app run using the issue's commands. Done means the project runs with NiRNE without either repository-parsing or local-cache validation errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface, python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.