-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 'zero123-unified-guidance-cache' #3
Comments
Hello, can you check how to you set the path to your threestudio package. I am sure that the class of hash3D/threestudio-hash3d/threestudio/models/guidance/zero123_unified_guidance_cache.py Line 34 in d705863
|
@Adamdad The structure of folders and files is here. |
Can you run the code again, and set |
It pauses for a little time after this... $ pwd
/home/dreamer/threestudio/custom/hash3D/threestudio-hash3d
$
$ export PYTHONPATH="$PWD"
$
$ python launch.py --config configs/stable-zero123_hash3d.yaml --train --gpu 0 data.image_path=load/images/dog1_rgba.png
Global seed set to 0
find: single-image-datamodule
find: zero123-system
find: implicit-volume
find: diffuse-with-point-light-material
find: solid-color-background
find: nerf-volume-renderer
[INFO] ModelCheckpoint(save_last=True, save_top_k=-1, monitor=None) will duplicate the last checkpoint saved.
[INFO] GPU available: True (cuda), used: True
[INFO] TPU available: False, using: 0 TPU cores
[INFO] IPU available: False, using: 0 IPUs
[INFO] HPU available: False, using: 0 HPUs
[INFO] You are using a CUDA device ('NVIDIA GeForce RTX 4090') that has Tensor Cores. To properly utilize them, you should set `torch.set_float32_matmul_precision('medium' | 'high')` which will trade-off precision for performance. For more details, read https://pytorch.org/docs/stable/generated/torch.set_float32_matmul_precision.html#torch.set_float32_matmul_precision
[INFO] single image dataset: load image load/images/dog1_rgba.png torch.Size([1, 128, 128, 3])
[INFO] single image dataset: load image load/images/dog1_rgba.png torch.Size([1, 128, 128, 3])
[INFO] LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0] I am waiting... |
can git pull again? I just push one line of code hash3D/threestudio-hash3d/threestudio/models/guidance/__init__.py Lines 1 to 12 in ea45d58
|
I got this error. $ pwd
/home/dreamer/threestudio/custom/hash3D/threestudio-hash3d
$
$ python launch.py --config configs/stable-zero123_hash3d.yaml --train --gpu 0 data.image_path=load/images/dog1_rgba.png
Traceback (most recent call last):
File "/home/dreamer/threestudio/custom/hash3D/threestudio-hash3d/launch.py", line 301, in <module>
main(args, extras)
File "/home/dreamer/threestudio/custom/hash3D/threestudio-hash3d/launch.py", line 135, in main
import threestudio
File "/home/dreamer/threestudio/custom/hash3D/threestudio-hash3d/threestudio/__init__.py", line 55, in <module>
from . import data, models, systems
File "/home/dreamer/threestudio/custom/hash3D/threestudio-hash3d/threestudio/models/__init__.py", line 1, in <module>
from . import (
File "/home/dreamer/threestudio/custom/hash3D/threestudio-hash3d/threestudio/models/guidance/__init__.py", line 1, in <module>
from . import (
File "/home/dreamer/threestudio/custom/hash3D/threestudio-hash3d/threestudio/models/guidance/zero123_unified_guidance_cache.py", line 31, in <module>
from threestudio.utils.hash_table import GridBasedHashTable, GridBasedHashTable_Sim, AdaptiveGridBasedHashTable, GridBasedHashTable_Key
ImportError: cannot import name 'GridBasedHashTable_Key' from 'threestudio.utils.hash_table' (/home/dreamer/threestudio/custom/hash3D/threestudio-hash3d/threestudio/utils/hash_table.py) |
Sorry, just remove this. Can pull again. |
Yes, threestudio can help you to convert this ckpt to mesh .obj and can be applied to other applications. |
@Adamdad Are you in threestudio discord server ? |
Yes I am in, but I never send any message there. |
Can you give a star on the project? Thank you so much! |
I run this command.
I got this error.
What's the problem ?
The text was updated successfully, but these errors were encountered: