Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
CI MESSAGE: [18958041]: BUILD STARTED |
614b649 to
fc05029
Compare
|
CI MESSAGE: [18958465]: BUILD STARTED |
|
CI MESSAGE: [18958465]: BUILD PASSED |
|
For the future, I belive we could make the resize and crop ops support similar trick, likely in a bit more straightforward way. |
|
View / edit / reply to this conversation on ReviewNB szkarpinski commented on 2024-10-04T11:44:12Z Line #42. ) # convert to float and mark outermost dimension as"frame" Nitpicks: Why |
|
View / edit / reply to this conversation on ReviewNB szkarpinski commented on 2024-10-04T11:44:13Z How about adding a sentence explaining what the images above mean? The first single image was confusing to me - I expected sequences of equal length. It took me some time to notice mzient commented on 2024-11-04T11:46:51Z Yeah, I'd recommend playing with the seed a bit to get an example with three different sequence lengths, preferably without a single-image sequence. |
|
Yeah, I'd recommend playing with the seed a bit to get an example with three different sequence lengths, preferably without a single-image sequence. View entire conversation on ReviewNB |
Signed-off-by: Michał Zientkiewicz <mzient@gmail.com>
Signed-off-by: Michał Zientkiewicz <mzient@gmail.com>
fc05029 to
0198687
Compare
Greptile OverviewGreptile SummaryAdds a new Jupyter notebook example demonstrating how to extract multiple crops from a single image using DALI's
Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User as User/Pipeline
participant FileReader as fn.readers.file
participant Decoder as fn.decoders.image
participant Shapes as fn.shapes
participant Random as fn.random.uniform
participant Stack as fn.stack
participant PerFrame as fn.per_frame
participant Transforms as fn.transforms.crop
participant WarpAffine as fn.warp_affine
User->>FileReader: Read image files
FileReader->>Decoder: JPEG bytes
Decoder->>Shapes: Get image shape (H, W)
Shapes->>Random: Generate crop params using dimensions
Random->>Stack: Stack crop coordinates
Stack->>PerFrame: Mark as per-frame data
PerFrame->>Transforms: Create crop transform matrix
Decoder->>WarpAffine: Input image
Transforms->>WarpAffine: Per-frame transform matrices
WarpAffine->>User: Output sequence of crops
|
Category:
Other (e.g. Documentation, Tests, Configuration)
Description:
Implements a pipeline example requested by a user in #1579
Additional information:
Affected modules and functionalities:
N/A
Key points relevant for the review:
Tests:
Checklist
Documentation
DALI team only
Requirements
REQ IDs: N/A
JIRA TASK: N/A