alexlau commited on
Commit
7fb9c3e
1 Parent(s): 31767ee

add cv2 and disable install cv2

Browse files
Files changed (2) hide show
  1. jaxnerf/nerf/datasets.py +2 -2
  2. requirements.txt +1 -1
jaxnerf/nerf/datasets.py CHANGED
@@ -22,8 +22,8 @@ from os import path
22
  import queue
23
  import threading
24
 
25
- if not INTERNAL:
26
- import cv2 # pylint: disable=g-import-not-at-top
27
  import jax
28
  import numpy as np
29
  from PIL import Image
 
22
  import queue
23
  import threading
24
 
25
+ # if not INTERNAL:
26
+ # import cv2 # pylint: disable=g-import-not-at-top
27
  import jax
28
  import numpy as np
29
  from PIL import Image
requirements.txt CHANGED
@@ -2,7 +2,7 @@ numpy>=1.16.4
2
  jax>=0.2.6
3
  jaxlib>=0.1.57
4
  flax>=0.2.2
5
- opencv-python>=4.4.0
6
  Pillow>=7.2.0
7
  pyyaml>=5.3.1
8
  tensorboard>=2.4.0
 
2
  jax>=0.2.6
3
  jaxlib>=0.1.57
4
  flax>=0.2.2
5
+ #opencv-python>=4.4.0
6
  Pillow>=7.2.0
7
  pyyaml>=5.3.1
8
  tensorboard>=2.4.0