jd-opensource / jd-opensource/JoyAI-Image

Directory structure mismatch in JoyAI-Image-Und (missing text_encoder/)

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.2k
Forks
165
PR merge metrics
No merged PRs in 30d

Description

I found a directory structure issue when running inference_und.py.
The script expects a text_encoder/ subdirectory inside the --ckpt-root, but the files downloaded from Hugging Face (JoyAI-Image-Und) are stored in a flat structure at the root level.
Because of this, it throws:
FileNotFoundError: Expected text_encoder/ directory inside checkpoint root
Could you please update the HF repo structure or the inference script? Also, I couldn't find the main model.pt in the JoyAI-Image-Und folder.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.