Replies: 1 comment
-
Hi @yoPitarch, the Hope it helps, thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'd like to use a CSV file to load data and apply transform on these data.
Before describing the transforms I would like to apply, let me first introduce the structure of my CSV file:
img
: relative path to the imagelabel
: relative path to the labelx
: x coordinate of the ROI centery
: y coordinate of the ROI centerz
: z coordinate of the ROI centerUsing
col_groups
, I have transformedx
,y
andz
columns into one column calledcenter
. Then I want to apply these transforms:center
Here is the code I wrote so far to achieve this but I struggle with the "relative ROI center" part since the type of the roi_center parameter must be a Tensor and not a string.
Any help would be highly appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions