Skip to content

Fix the judgement of torchvision.__version__#95

Open
chenjoya wants to merge 1 commit intofundamentalvision:mainfrom
chenjoya:patch-1
Open

Fix the judgement of torchvision.__version__#95
chenjoya wants to merge 1 commit intofundamentalvision:mainfrom
chenjoya:patch-1

Conversation

@chenjoya
Copy link

Hi, thank you for your excellent work!

I found when torchvision.version >= 0.10.0, the original code would be False, which is unexpected.

I think we should only consider the intermediate version number of that.

Hi, thank you for your excellent work!

I found when torchvision.__version__ >= 0.10.0, the original code would be False, which is unexpected. 

I think we should only consider the intermediate version number of that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant