Conversation
Signed-off-by: Richard Brown <[email protected]>
|
Hi @binliunls , I think this great PR almost achieved all the necessary features of the video loading part. Thanks in advance. |
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
|
Hi @rijobro, |
|
Hi @binliunls , Do you mean self.cap.set(cv2.CAP_PROP_POS_FRAMES, index)And GPU transforms can't work in multi-processing in your use case. So if Thanks. |
Hi @Nic-Ma : |
|
Hi @binliunls , Are you execute transforms on GPU? It should not work with num_workers > 0 in DataLoader. Thanks. |
I tried to move the transform from GPU to CPU and the program still stuck. |
|
Hi @binliunls , I think your multi-processing issue may be similar to: Thanks in advance. |
Hi @Nic-Ma: |
|
Hi @binliunls , If you move the "open_video" call to every get frame, will it be slower as it frequently opens and closes? Thanks. |
|
Signed-off-by: Richard Brown <[email protected]>
|
Ok, so I will put a |
|
Hi @rijobro , I think it's OK to add this Thanks. |
Signed-off-by: Richard Brown <[email protected]>
|
@binliunls I've made the various changes (including the RGB option you requested here). Could you give it a go and let me know if it all works as expected? |
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
…aset Signed-off-by: Richard Brown <[email protected]>
|
I think it's in this PR only, and I couldn't find out the reason...most likely from the unit tests? |
Hi @rijobro , |
|
Hm, I think for pytorch based applications, we always want the channel in front of spatial dimensions. Granted, matplotlib and opencv expect them at the end. I'll put this as an option, too. It's true that we could leave it for the transforms, but I think that it's going to be needed frequently enough to have it done by default. |
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
|
Hi @rijobro , Would you like to fix the CI issue and let's merge this PR then? Thanks in advance. |
|
Will wait to see if this passes CI, added .avi example video in case .mp4 codec missing. If both missing, skip. Also silence stderr error from OpenCV C++. |
…codecs Signed-off-by: richard <[email protected]>
|
/build |
|
@rijobro , I checked the blossom error, seems some code is not correct: Thanks. |
Hi @rijobro , |
HI @wyli , |
thanks, I'd suggest let's raise this issue on monday's meeting to discuss the user experience. |
Signed-off-by: richard <[email protected]>
|
I have updated to set the |
Signed-off-by: richard <[email protected]>
Signed-off-by: Wenqi Li <[email protected]>
|
/build |
looks like opencv is creating new config-3.8.py which blocks the tests |
Signed-off-by: richard <[email protected]>
This issue is blocking the codecov https://github.com/Project-MONAI/MONAI/runs/7847212644?check_suite_focus=true it doesn't happen on other PR's tests |
Signed-off-by: Wenqi Li <[email protected]>
|
/build |
1 similar comment
|
/build |
Signed-off-by: Wenqi Li <[email protected]>
|
Unrelated error in the CI: https://github.com/Project-MONAI/MONAI/runs/7853900108?check_suite_focus=true, will re-run jobs. |
|
/build |
Addresses: #4746.
Description
Adds video datasets. Videos can be from file or capture device (e.g., webcam).
Requires a corresponding tutorial.
Status
Hold
Types of changes