JohnsonXi

Results 7 comments of JohnsonXi

将cv2.imwrite换成cv2.imencode就能保存图片了 for img in outputs: # count the number of images in the folder num = len(os.listdir(os.path.join(save_dir, 'single'))) cv2.imencode('.png', img)[1].tofile(os.path.join(save_dir, "single", str(num) + '.png'))

torch version must match cuda version(use `nvcc -V` check), my cuda=11.8, so `pip install torch==2.0.0 torchvision==0.15.1 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu118`, dont need to follow author readme.

If there is a folder with the same name sam2 under some packages in the python package search directory `sys.path`, python will search from front to back and import the...

> Provided now. This is a much better job compared to sdxl, thanks for your efforts

> The key log seems to be for Text Encoder 1 (CLIP-L). Have you connected CLIP to the LoRA node? yes, only use `Load LoRA` node can run successfully, all...

claude agent sdk code parsed the event message, you must close the from ._internal.message_parser import parse_message, then looks every event useage. class ClaudeSDKClient: async def receive_messages(self) -> AsyncIterator[Message]: """Receive all...