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

请问如何使用image-downloader下载WanJuan1.0的multi-modal的图片呢? #1

Open
luochuwei opened this issue Aug 16, 2023 · 3 comments

Comments

@luochuwei
Copy link

是否可以提供示例代码?

@github-willian
Copy link
Collaborator

是否可以提供示例代码?

你想要什么样的样例呢,这个代码主要是基于redis进行分布式下载的,主要的代码是add_task_txt.py添加任务到redis队列,downloader.py从redis队列中去url下载保存,在运行的时候请确认配置文件是否是正确在setting.py中。

@LightningApple
Copy link

redis_ip 怎么设置呢,设置成跑代码的机器的ip吗,我是这么设的,可是出现如下错误:
redis.exceptions.ConnectionError: Error 111 connecting to 172.18.61.34:6000. Connection refused

@github-willian
Copy link
Collaborator

redis_ip 怎么设置呢,设置成跑代码的机器的ip吗,我是这么设的,可是出现如下错误: redis.exceptions.ConnectionError: Error 111 connecting to 172.18.61.34:6000. Connection refused

请检查你安装的redis服务里面的设置,这个大概率是你的redis服务安装配置的问题

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