You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thanks for your query. The parameters are 1) unmask, the path to the
non-masked images, 2) mask_file, the path to masked images, 3) partition,
whether the split it train or test set, 4) transform, and transforms to be
applied to the images, 5)number of classes, 6) loader, loader is a function
written before the start of the dataset class that reads an image with
pandas or Image library.
Hope this helps. Let me know if you have any questions.
Regards,
Sridhar
On Tue, 27 Feb 2024 at 03:01, daaqiu ***@***.***> wrote:
class RafDataset(data.Dataset):
def *init*(self, unmask =
'/content/drive/MyDrive/FERDatasets/RAFDB/aligned',
mask_file = '/content/drive/MyDrive/Mask_RAFDB/aligned_mask',
partition = 'train', transform = None, num_classes = 7, loader =
my_loader):
hello,can you tell what is the loader parameter ?
—
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APKSZYPM2MR5GILAJDWZPD3YVVD7BAVCNFSM6AAAAABD3J4Q36VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2TKNJVGA3TCNA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
class RafDataset(data.Dataset):
def init(self, unmask = '/content/drive/MyDrive/FERDatasets/RAFDB/aligned',
mask_file = '/content/drive/MyDrive/Mask_RAFDB/aligned_mask',
partition = 'train', transform = None, num_classes = 7, loader = my_loader):
hello,can you tell what is the loader parameter ?
The text was updated successfully, but these errors were encountered: