mehdiabruee commited on
Commit
f1ccb8e
·
1 Parent(s): 2145c98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -25,9 +25,9 @@ import torchvision
25
  from torch import nn
26
  from typing import List
27
 
28
- def ifnone(a, b): # a fastai-specific (fastcore) function used below, redefined so it's independent
29
- "`b` if `a` is None else `a`"
30
- return b if a is None else a
31
 
32
  class ConvBlock(torch.nn.Module):
33
  def __init__(self,input_size,output_size,kernel_size=4,stride=2,padding=1,activation='relu',batch_norm=True):
 
25
  from torch import nn
26
  from typing import List
27
 
28
+ #def ifnone(a, b): # a fastai-specific (fastcore) function used below, redefined so it's independent
29
+ # "`b` if `a` is None else `a`"
30
+ # return b if a is None else a
31
 
32
  class ConvBlock(torch.nn.Module):
33
  def __init__(self,input_size,output_size,kernel_size=4,stride=2,padding=1,activation='relu',batch_norm=True):