Skip to content

Commit

Permalink
update README.md; bump python version to 3.10 for conda. Update numpy…
Browse files Browse the repository at this point in the history
… requirements.txt and setup.py.
  • Loading branch information
tobidelbruck committed Jul 26, 2023
1 parent be99ca2 commit 81cdc50
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Install _v2e_ to a separate Python environment
such as `conda` environment:

```bash
conda create -n v2e python=3.9 # create a new environment
conda create -n v2e python=3.10 # create a new environment
conda activate v2e # activate the environment
```
### Ensure you have CUDA enabled GPU-accelerated _pytorch_
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ nbconvert>=5.6.1
nbformat>=5.0.6
notebook>=6.0.3
numba>=0.49.1
numpy>=1.18.1
numpy>=1.21
olefile>=0.46
opencv-python
pandas>=1.0.3
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
url='https://github.com/SensorsINI/v2e',
install_requires=[
'numpy==1.20; python_version<"3.10"',
'numpy>=1.21.2; python_version>="3.10"',
'numpy>=1.24; python_version>="3.10"',
'argcomplete',
'engineering-notation', # not available on conda
'tqdm',
Expand Down
2 changes: 1 addition & 1 deletion v2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ def is_float(element: Any) -> bool:
if output_width is None or output_height is None:
logger.error("Either or both of output_width or output_height is None,\n"
"which means that they were not specified or could not be inferred from the input video. \n "
"Please see options for DVS camera sizes.")
"Please see options for DVS camera sizes. \nYou can try the option --dvs346 for DAVIS346 camera as one well-supported option.")
v2e_quit(1)
num_pixels=output_width*output_height

Expand Down

0 comments on commit 81cdc50

Please sign in to comment.