CSAILVision / semantic-segmentation-pytorch

Pytorch implementation for Semantic Segmentation/Scene Parsing on MIT ADE20K dataset
http://sceneparsing.csail.mit.edu/
BSD 3-Clause "New" or "Revised" License
4.96k stars 1.1k forks source link

Fix requirements.txt #238

Closed arjo129 closed 4 years ago

arjo129 commented 4 years ago

According to https://pip.pypa.io/en/stable/user_guide/ to set the version of torch "==" should be used. Otherwise one recieves the following error:

ERROR: Invalid requirement: 'pytorch=0.4.1' (from line 3 of requirements.txt)
Hint: = is not a valid operator. Did you mean == ?