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

create_object_detection_table error #278

Open
teoland opened this issue Feb 11, 2020 · 5 comments
Open

create_object_detection_table error #278

teoland opened this issue Feb 11, 2020 · 5 comments

Comments

@teoland
Copy link

teoland commented Feb 11, 2020

Hi,

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.

dlpy_error

Any ideas?

Thanks!!

Matteo

@wenyushi
Copy link
Collaborator

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
Copy link

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.

@wenyushi
Copy link
Collaborator

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
Copy link
Author

teoland commented Feb 17, 2020

Sure. Attached the error message with the loacal_path commented out

error2

@jackyyanggp
Copy link

jackyyanggp commented Nov 10, 2020

still have the error even with the "...no_xml" function. any advice?

image

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

4 participants