Problem with MONAIlabel logging.json permission #1452
Replies: 8 comments 4 replies
-
logging.json? can you please provide more details..
|
Beta Was this translation helpful? Give feedback.
-
Why there are multiple start? I am trying to understand why both User A and User B have to start the server. When you fetch Next Sample, user A will get a different image and user B will next one.. unless that is the last image remains.. (it's not guaranteed as it random selection is simply based on weighted probability) However you can hook in your own strategy if you want to handle distributed user-case. Client-ID is always passed in the request and you can maintain a session based on the same. In the examples, please remember as part of open source, we support only stateless instance and still try to support simple distribution across multiple users. However you have an option to extend these Next Sample (strategy) into your own.. For example: https://github.com/Project-MONAI/MONAILabel/blob/main/monailabel/tasks/activelearning/random.py#L40 When you such strategy, then you can use the same in your App. In any case if you want to go with pre-distribution strategy where same app you want to run with different studies, then you can provide your log config while starting the server.. something like this..
May be easiest way to have your own log config is by copying the Note: this is a cool idea to distribute the work across multiple users but not efficient wrt GPU.. as each process (User) will load the same model multiple times |
Beta Was this translation helpful? Give feedback.
-
will check on this and if needed, we can have a fix for that.. |
Beta Was this translation helpful? Give feedback.
-
^^ @tangy5 |
Beta Was this translation helpful? Give feedback.
-
Recently, we have enabled an option to conduct multi-user authentication for different roles, say Reviewer, Admin, Annotator, User can work on same project and server. We haven't seen this logging permission issue, I will investigate it, thanks for posting this. i will try reproduce this error, if convenient, can you provide a simple example (steps) of how to get this error? Thanks so much! |
Beta Was this translation helpful? Give feedback.
-
@OmarAshkar can you try with this branch.. if this solves the problem for your.. we can merge this into main branch and possibly release this fix in 0.7 release... (0.7 release is due by tomorrow) |
Beta Was this translation helpful? Give feedback.
-
@OmarAshkar were you able to test/verify the patch? |
Beta Was this translation helpful? Give feedback.
-
@SachidanandAlle Yes I confirm that the file is not generated on the server directory anymore. Thanks a lot! |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am using the radiology app with 3d slicer, but users being switched to connect to a server, we get an error for logging.json file permission. we have to delete it manually.
Is there is a way to fix that? Also generally is the current radiology app ready for multiple users to annotate the same time?
Your guys work is highly appreciated ^^
Thank you,
Omar
Beta Was this translation helpful? Give feedback.
All reactions