py-cloudcv
py-cloudcv copied to clipboard
Failure in Socket Connection (with proxy)
Hi, When I run python run.py config.json -I "/full/path/input/file" -O "/full/path/output/" -E "features", I get the following errors:
- failed CONNECT via proxy status: 403
- Exception: Image Input Path not in proper format. [to a jpeg image path]
- AttributeError: 'NoneType' object has no attribute 'disconnect'
Attached Screenshots:
Config.json:
{
"exec": "features",
"maxim": 500,
"config": [
{
"name": "ImageStitch",
"path": "local: /home/sash/Pictures/index.jpeg",
"output": "dropbox:/1/",
"params": {
"warp": "plane"
}
},
{
"name": "VOCRelease5",
"path": "local: /home/sash/Pictures/index.jpeg",
"output": "dropbox:/1/",
"params": {
"Models": "PAS_bicycle, PAS_aeroplane, PAS_bird, PAS_boat, PAS_bottle, PAS_bus, PAS_car,PAS_cat,PAS_chair,PAS_cow,PAS_diningtable,PAS_dog,PAS_horse,PAS_motorbike,PAS_person,PAS_pottedplant,PAS_sheep,PAS_sofa,PAS_train,PAS_tvmonitor"
}
},
{
"name": "classify",
"path": "local: local: /home/sash/Pictures/index.jpeg",
"output": "dropbox:/3/",
"params": {
}
},
{
"name": "features",
"path": "local: /home/sash/Pictures/index.jpeg",
"output": "dropbox:/1/",
"params": {
"name": "decaf",
"verbose": "2",
"server": "decaf_server"
}
}
]
}
ok. so you need to just put the directory part inside config.json, so something like "local: /home/sash/Pictures/"
If you are behind university connection, the socket connection will not work because I think its blocking non-http connection or something.
As for the directory part, I had initially done that but just for testing I had changed it. Thanks anyways.. Any chance it will be able to work with the proxy?
is this not solved yet ?