-
Notifications
You must be signed in to change notification settings - Fork 6
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
Direct link to SCANEO #167
Comments
the scaneo tool is obviously scanning the cli passed folder (-d) on startup - how should that work in this setup, should the scaneo instance point to the user home folder and everything is supposed to be scanned? or do you plan a file/folder picker inside the tool? |
It should not use the default behaviour that you are mentioning, but the EOTDL plugin (wich is still in development). The command will be something like In the meantime you can point to some of the datasets in the cached folder (like EuroSAT, for example) just to make sure the workflow described in this issue works as expected. |
can you elaborate on this plugin - where will it point to, i.e. what do you mean with "user's datasets" do you mean instead of scanning a folder it will use the eotdl library internally to connect to eotdl datasets (filtered somehow by user) via s3/boto? where will the labels be stored, how that will work? |
It will communicate entirely with the EOTDL API (via the library) to retrieve and store all the required information (data and labels included), so no need to store anything locally. |
sounds good so we package scaneo and the plugin in a docker image, call if the user closes the browser page with the running scaneo application we have to implement some "culling" mechanism to stop the docker process at some point, so based on the previous comment we are safe that the user might not potentially lose any work, nice looking forward to see that in action, just let us know when we can try with the scaneo plugin, please reassign the issue then, thanks |
Resuming this task @achtsnits currently the tool can be started with scaneo --eotdl . Is this ok or should we do the scaneo --eotdl and then the user has to select the datasets directly inside the labelling tool ? |
which eotdl version is used here with scaneo as scaneo is obviously not bundling eotdl? |
Latest version is ok, currently at 2024.05.02 |
thanks can you please open JupyterLab (you can use regular profile, no need for Premium profile), open the terminal, run "conda activate scaneo-2024.6.4", subsequently "scaneo --eotdl EuroSAT-RGB-small" and then replace the "/lab" part in the url to "/proxy/8000/"(i,e. |
Looks like the UI is trying to get the images from the base URL instead of https://hub.api.eotdl.com/user/username/proxy/8000/images I'll fix this and let you know. |
@achtsnits |
with |
It looks like the UI can communicate with the backend properly. However, it is really slow. Loading the images for visualization takes a long time, after that labelling does not work either (I get "You are not authorized to perform this action", an error SCANEO throws if the owner of the dataset is not the annotator. Will take a closer look at this since it should work for my user and a dataset that I ingested myself). |
as idea (similiar to ml-inference) - is it possible that you create sub paths in the https server of scaneo app for eotdl, i.e. on scaneo.xxx/ you keep existing behavior and on urls like scaneo.xxx/EuroSAT-RGB-small/ and similar your are refreshing app with behavior mimicking --eotdl EuroSAT-RGB-small flag perhaps again with a configurable EOTDL_API_KEY= env variable -> we could then deploy scaneo with a fixed url without requiring the user to manually start scaneo |
Intead of starting the tool with the model as a parameter to the CLI, use only --eotdl to start it in "eotdl" mode and then select the model from a list (in a dropdown for example). It could also add the model to the URL so we can open it directly in EOTDL mode with that model ready from the UI. The goal is to start the tool once so it is always running and be able to better manage resources. |
@juansensio @achtsnits |
Hello, we are working on it and should be working as expected for MS5. |
Duplicated #271 |
When user click on the "open" button in the SCANEO section, the SCANEO labelling tool should be opened in a new tab ready to use (in the same way that when they click on "open" the workspace, the workspace is opened).
The SCANEO labelling tool runs in the user workspace and exposes a URL to redirect users from the website. This url should be fixed (depending maybe on the user id or some other information). If SCANEO is not running when the user clicks "open", is should start and redirect when ready.
The text was updated successfully, but these errors were encountered: