Skip to content
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

Warning: Texture synthesis is disabled #99

Open
pluberd opened this issue Feb 16, 2025 · 2 comments
Open

Warning: Texture synthesis is disabled #99

pluberd opened this issue Feb 16, 2025 · 2 comments

Comments

@pluberd
Copy link

pluberd commented Feb 16, 2025

After install the mesh generator works well, but there is a warning:

"
Warning: Texture synthesis is disabled due to missing requirements, please refer to the README.md and install the missing requirements to activate it.
"

But I have done all steps inside the README.md and I can't find anything about activating the texture generator. Only:

pip install -r requirements.txt
# for texture
cd hy3dgen/texgen/custom_rasterizer
python3 setup.py install
cd ../../..
cd hy3dgen/texgen/differentiable_renderer
python3 setup.py install

I have done it and it was successful.

Ubuntu 24.04 with Virtual Environment.

In other threads I found you need a Nvidia GPU. My is the RTX 3090. But maybe 24GB are not enough. Currently I share the GPU with my Desktop and it steals about 1GB VRAM. So far I can't see any error message.


Finally, after I start with --enable_t23d it shows me an missing package "sentencepiece" and after install the texture generator is enabled.

To bad, I run into Out Of Memory after I start it. ..... other problem.

@Zeqiang-Lai
Copy link
Collaborator

You don't need --enable_t23d to enable texture gen. It is used to activate text-to-image for text to 3D.

@maepopi
Copy link

maepopi commented Feb 21, 2025

Hello! I have the same problem as OP, the texture synthesis is disabled but I have done all the steps.

I spotted this message in the console

Fetching 48 files: 58%|██████████████████████████████████████████████████████████████████████████████▏ | 28/48 [04:04<02:54, 8.72s/it] (MaxRetryError('HTTPSConnectionPool(host=\'cdn-lfs-us-1.hf.co\', port=443): Max retries exceeded with url: /repos/a9/84/a9845b44053f70565d98bcc8256a3eb847a45054fd0206fd1d30a60c4a3aab98/39c2a6bf54f5674f2001b763d8e15b773fbda24604b3911544d09846496bc972?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27model.ckpt%3B+filename%3D%22model.ckpt%22%3B&Expires=1740135460&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc0MDEzNTQ2MH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zL2E5Lzg0L2E5ODQ1YjQ0MDUzZjcwNTY1ZDk4YmNjODI1NmEzZWI4NDdhNDUwNTRmZDAyMDZmZDFkMzBhNjBjNGEzYWFiOTgvMzljMmE2YmY1NGY1Njc0ZjIwMDFiNzYzZDhlMTViNzczZmJkYTI0NjA0YjM5MTE1NDRkMDk4NDY0OTZiYzk3Mj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSoifV19&Signature=mtNmTLJSll5FrvF-KYnA1tH79yZy4mcgN4pakMGGFJfuSch6R742vCf8BJrLOpiUvCZ2OyAQaTyg8OK0BqcqnlTMLgPf9mcXGcqHPtnCYrMrB1BoprmcROV0k86nz-19t6NuHkXuuD7eClf5j0Dqi~~ehQ~5oPA-k3c8hub-fX1Rp01oFGmRxUH1-JKku5iOr30bDmTJBqFQSihhUAAY8x4NL9x3VJ4r2myBNU~JAbovD2d5aHaiN7viNabHSQf6OEz4cs4CI6TVBhW0XM0Wobl2183cg8MEr9qCJclGXC7Md3NNUKk4pSXLhUIoa3yu~4SkGIPX39G5omBTW3ZObQ__&Key-Pair-Id=K24J24Z295AEI9 (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x78785d4ac1c0>: Failed to resolve \'cdn-lfs-us-1.hf.co\' ([Errno -3] Temporary failure in name resolution)"))'), '(Request ID: 55a99af9-21a3-4a66-97ad-60bc40f2166d)') Failed to load texture generator.

I must precise that my HF_HOME is on a mounted drive, could it be the cause of the error ? All models load correctly so I don't see why it would be that.

Thanks!

EDIT : I have reset the cache in the original folder, and I still have an error

An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.nsors: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▉| 4.93G/4.93G [04:14<00:00, 42.9MB/s]
Failed to load texture generator.███████████████████████████████████████████████████████████████████████████████████████████▊                            | 3.87G/4.93G [01:10<00:25, 42.4MB/s]
Please refer to the README.md and install the missing requirements to activate it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants