SysCV / nutsh

A Platform for Visual Learning from Human Feedback
https://nutsh.ai
Apache License 2.0
79 stars 6 forks source link

Data from local disk #2

Closed mjan2021 closed 1 year ago

mjan2021 commented 1 year ago

This more of a question than issue but I am trying to load the data from a local folder, the document haven't mentioned anything regarding frames/video to be imported from a local folder. Does it need to be in a specific place, or full local directory path work also?

Looking forward to starting the annotation process for a large-scale dataset.

Thanks

OS: MacOS 14 Sonoma System: Macbook Pro M2 Max

hxhxhx88 commented 1 year ago

Hi @mjan2021 , for the moment only urls are supported, and we are working on loading local files. It will come soon and I'll let you know:) Before that, a quick work around will be to server the local folder behind a proxy like the nginx.

mjan2021 commented 1 year ago

@hxhxhx88 It also not loading from the NGINX, I also tried to deploy Flask server but it also not loading. image

hxhxhx88 commented 1 year ago

@mjan2021 hi, serving local files is added to v0.1.2. Please check the release and the doc!

mjan2021 commented 1 year ago

@hxhxhx88. Perfect! Works like a charm. Looking forward to further development of this app.

Also, just to let you know, the Flask 2.3.3 was giving an error with python 3.10.11 when starting SAM. I had to remove the static version to make it work.