nowsyn commited on
Commit
2641a99
1 Parent(s): d4f288c

fix timm import error

Browse files
Files changed (1) hide show
  1. annotator/midas/midas/vit.py +1 -0
annotator/midas/midas/vit.py CHANGED
@@ -1,5 +1,6 @@
1
  import torch
2
  import torch.nn as nn
 
3
  import timm
4
  import types
5
  import math
 
1
  import torch
2
  import torch.nn as nn
3
+ torch.jit.script = lambda f: f
4
  import timm
5
  import types
6
  import math