Unity-Technologies / pysolotools

Python toolchain for SOLO.
https://Unity-Technologies.github.io/pysolotools
Other
39 stars 14 forks source link

Error: An attempt has been made to start a new process before current process has finished #145

Open TimotheeWrightFicha opened 1 year ago

TimotheeWrightFicha commented 1 year ago

Hey,

I wanted to test your tool, so I followed the README. I must say I did pip install pysolotools without --index-url=https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple because it wasn't working with it. But it worked anyway

When trying to run this code I got an error.

from pysolotools.converters.solo2coco import SOLO2COCOConverter
from pysolotools.consumers import Solo

solo = Solo("src_data_path")
dataset = SOLO2COCOConverter(solo)
dataset.convert(output_path="output_path")

This error kept repeating itself.

image

Any help on how to use your tool would be appreciated

Jgunde commented 1 year ago

I was having the same problem when running the code within a Python script. Try running it through a Python console instead.