Skip to content

Commit

Permalink
Merge pull request IrisRainbowNeko#1 from FishMagic/master
Browse files Browse the repository at this point in the history
Fix version flag error
  • Loading branch information
IrisRainbowNeko authored Sep 21, 2021
2 parents 87a7f7d + b36027c commit cb7d23f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
Pillow
pymouse
numpy==1.19.5
torch==1.7.0+{"cpu" if args.cuda is None else args.cuda} -f https://download.pytorch.org/whl/torch_stable.html
--no-deps torchvision==0.8.1+{"cpu" if args.cuda is None else args.cuda} -f https://download.pytorch.org/whl/torch_stable.html
torch==1.7.0+{"cpu" if args.cuda is None else "cu" + args.cuda} -f https://download.pytorch.org/whl/torch_stable.html
--no-deps torchvision==0.8.1+{"cpu" if args.cuda is None else "cu" + args.cuda} -f https://download.pytorch.org/whl/torch_stable.html
thop
git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
'''

for line in pkgs.split('\n'):
pip.main(['install', *line.split()])
pip.main(['install', *line.split()])

0 comments on commit cb7d23f

Please sign in to comment.