mirror of
https://github.com/AntoineHX/smart_augmentation.git
synced 2025-05-04 04:00:46 +02:00
Minor improvement (RandAug)
This commit is contained in:
parent
6bba069d8a
commit
561b71b30a
5 changed files with 50 additions and 179 deletions
|
@ -131,6 +131,7 @@ def viz_sample_data(imgs, labels, fig_name='data_sample', weight_labels=None):
|
|||
fig_name (string): Relative path where to save the graph. (default: data_sample)
|
||||
weight_labels (Tensor): Weights associated to each labels. (default: None)
|
||||
"""
|
||||
|
||||
sample = imgs[0:25,].permute(0, 2, 3, 1).squeeze().cpu()
|
||||
|
||||
plt.figure(figsize=(10,10))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue