You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to execute the create_object_detection_table function with no luck so far.
I am using only the data_path option as iamges and cas server are in the same machine.
Attached the error I am receiving. I really don't get why it is looking for a object_x file or path.
It seems to use linux path to access a windows directory. That will cause the issue. Please look at local_path docstring:
Local_path and data_path point to the same location.
The parameter local_path will be optional (default=None) if the
Python client has the same OS as CAS server or annotation files
in TXT format are placed in data_path.
Otherwise, the path that depends on the Python client OS needs to be specified.
For example:
Windows client with linux CAS server:
data_path=/path/to/data/path
local_path=\path\to\data\path
Linux clients with Windows CAS Server:
data_path=\path\to\data\path
local_path=/path/to/data/path
Let me know if you have any problem. Thanks.
In our case the Python client and the CAS server have the same OS (they are the same machine). We have tried the code without specifying the local_path and we got the same error. There aren't any Windows directory. Why should it look for a Windows directory?
Interestingly the create_object_detection_table_no_xml function worked with the data path and the annotation path being the same and putting txt annotation files there.
Activity
wenyushi commentedon Feb 12, 2020
It seems to use linux path to access a windows directory. That will cause the issue. Please look at local_path docstring:
Local_path and data_path point to the same location.
The parameter local_path will be optional (default=None) if the
Python client has the same OS as CAS server or annotation files
in TXT format are placed in data_path.
Otherwise, the path that depends on the Python client OS needs to be specified.
For example:
Windows client with linux CAS server:
data_path=/path/to/data/path
local_path=\path\to\data\path
Linux clients with Windows CAS Server:
data_path=\path\to\data\path
local_path=/path/to/data/path
Let me know if you have any problem. Thanks.
fede-citti commentedon Feb 12, 2020
In our case the Python client and the CAS server have the same OS (they are the same machine). We have tried the code without specifying the local_path and we got the same error. There aren't any Windows directory. Why should it look for a Windows directory?
Interestingly the
create_object_detection_table_no_xmlfunction worked with the data path and the annotation path being the same and putting txt annotation files there.wenyushi commentedon Feb 17, 2020
Well, if client and server are on the same machine, you don't need to set local_path. Could you send me the error message?
teoland commentedon Feb 17, 2020
Sure. Attached the error message with the loacal_path commented out
jackyyanggp commentedon Nov 10, 2020
still have the error even with the "...no_xml" function. any advice?