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

模型更改位置 #77

Open
mmacheng opened this issue Jul 13, 2024 · 2 comments
Open

模型更改位置 #77

mmacheng opened this issue Jul 13, 2024 · 2 comments

Comments

@mmacheng
Copy link

之前模型会自动下载到当前盘的根目录,对我一个强迫症来说,项目文件在非项目文件夹中,让我有点难受,所以改了一下代码。
1.将模型放到了····\custom_nodes\ComfyUI-YoloWorld-EfficientSAM\models\yolo_world文件夹下的 l & M & S 文件夹下。
2.要将efficient_sam_s_cpu.jit和 efficient_sam_s_gpu.jit两个文件放在····\custom_nodes\ComfyUI-YoloWorld-EfficientSAM\models\yolo_world文件夹下
3.将我提供的代码文件YOLO_WORLD_EfficientSAM.txt替换掉之前的YOLO_WORLD_EfficientSAM.py文件,然后将.txt后缀改成.py。
YOLO_WORLD_EfficientSAM.txt

@tzhnihao
Copy link

efficient_sam_s_cpu.jit和 efficient_sam_s_gpu.jit两个文件应该是放在····\custom_nodes\ComfyUI-YoloWorld-EfficientSAM\models\下吧?我放到你说的文件夹下报错。

@pengcheng8908
Copy link

之前模型会自动下载到当前盘的根目录,对我一个强迫症来说,项目文件在非项目文件夹中,让我有点难受,所以改了一下代码。 1.将模型放到了····\custom_nodes\ComfyUI-YoloWorld-EfficientSAM\models\yolo_world文件夹下的 l & M & S 文件夹下。 2.要将efficient_sam_s_cpu.jit和 efficient_sam_s_gpu.jit两个文件放在····\custom_nodes\ComfyUI-YoloWorld-EfficientSAM\models\yolo_world文件夹下 3.将我提供的代码文件YOLO_WORLD_EfficientSAM.txt替换掉之前的YOLO_WORLD_EfficientSAM.py文件,然后将.txt后缀改成.py。 YOLO_WORLD_EfficientSAM.txt

请问一下,默认模型下载到当前盘的根目录,具体是指哪啊?我在当前盘的根目录中tmp/cache/yolo_world/! 中并没有找到模型,但是我能正常使用,不知道模型在哪,我也想放到notes里面...

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