soniajoseph commited on
Commit
69ecb68
1 Parent(s): ba8660d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -45,7 +45,7 @@ Finally `train.json`, `val.json`, `test.json` store box, label, score and path i
45
 
46
  You can use this dataloader for your patch level labels. Patch size is a hyperparameter.
47
 
48
- '''
49
  class PatchDataset(Dataset):
50
  def __init__(self, dataset, patch_size=16, width=224, height=224):
51
  """
@@ -111,7 +111,7 @@ class PatchDataset(Dataset):
111
  reduced_mask[i, j] = np.any(patch) # Set to True if any value in the patch is True
112
 
113
  return reduced_mask
114
- '''
115
 
116
  ```
117
  ### Citation
 
45
 
46
  You can use this dataloader for your patch level labels. Patch size is a hyperparameter.
47
 
48
+ ```
49
  class PatchDataset(Dataset):
50
  def __init__(self, dataset, patch_size=16, width=224, height=224):
51
  """
 
111
  reduced_mask[i, j] = np.any(patch) # Set to True if any value in the patch is True
112
 
113
  return reduced_mask
114
+ ```
115
 
116
  ```
117
  ### Citation