I followed the steps on github
4.Run the inference script with the API and check the results in the assets folder.
Here is a problem I want to ask how to solve it, thank you.
Traceback (most recent call last):
File "/home/kemove/tangxunhao/RoboRefer/API/use_api.py", line 6, in
from query_model import query_server
File "/home/kemove/tangxunhao/RoboRefer/API/query_model.py", line 10, in
openai_client = OpenAI(api_key=api_key, base_url=base_url)
File "/home/kemove/anaconda3/envs/roborefer/lib/python3.10/site-packages/openai/_client.py", line 130, in init
super().init(
File "/home/kemove/anaconda3/envs/roborefer/lib/python3.10/site-packages/openai/_base_client.py", line 870, in init
self._client = http_client or SyncHttpxClientWrapper(
File "/home/kemove/anaconda3/envs/roborefer/lib/python3.10/site-packages/openai/_base_client.py", line 762, in init
super().init(**kwargs)
File "/home/kemove/anaconda3/envs/roborefer/lib/python3.10/site-packages/httpx/_client.py", line 686, in init
proxy_map = self._get_proxy_map(proxy, allow_env_proxies)
File "/home/kemove/anaconda3/envs/roborefer/lib/python3.10/site-packages/httpx/_client.py", line 244, in _get_proxy_map
return {
File "/home/kemove/anaconda3/envs/roborefer/lib/python3.10/site-packages/httpx/_client.py", line 245, in
key: None if url is None else Proxy(url=url)
File "/home/kemove/anaconda3/envs/roborefer/lib/python3.10/site-packages/httpx/_config.py", line 214, in init
raise ValueError(f"Unknown scheme for proxy URL {url!r}")
ValueError: Unknown scheme for proxy URL URL('socks://127.0.0.1:7891/')
I followed the steps on github
4.Run the inference script with the API and check the results in the assets folder.
Here is a problem I want to ask how to solve it, thank you.
Traceback (most recent call last):
File "/home/kemove/tangxunhao/RoboRefer/API/use_api.py", line 6, in
from query_model import query_server
File "/home/kemove/tangxunhao/RoboRefer/API/query_model.py", line 10, in
openai_client = OpenAI(api_key=api_key, base_url=base_url)
File "/home/kemove/anaconda3/envs/roborefer/lib/python3.10/site-packages/openai/_client.py", line 130, in init
super().init(
File "/home/kemove/anaconda3/envs/roborefer/lib/python3.10/site-packages/openai/_base_client.py", line 870, in init
self._client = http_client or SyncHttpxClientWrapper(
File "/home/kemove/anaconda3/envs/roborefer/lib/python3.10/site-packages/openai/_base_client.py", line 762, in init
super().init(**kwargs)
File "/home/kemove/anaconda3/envs/roborefer/lib/python3.10/site-packages/httpx/_client.py", line 686, in init
proxy_map = self._get_proxy_map(proxy, allow_env_proxies)
File "/home/kemove/anaconda3/envs/roborefer/lib/python3.10/site-packages/httpx/_client.py", line 244, in _get_proxy_map
return {
File "/home/kemove/anaconda3/envs/roborefer/lib/python3.10/site-packages/httpx/_client.py", line 245, in
key: None if url is None else Proxy(url=url)
File "/home/kemove/anaconda3/envs/roborefer/lib/python3.10/site-packages/httpx/_config.py", line 214, in init
raise ValueError(f"Unknown scheme for proxy URL {url!r}")
ValueError: Unknown scheme for proxy URL URL('socks://127.0.0.1:7891/')