Skip to content

Python 2 float/integer compatibility fix#153

Open
1Reinier wants to merge 1 commit intoCadene:masterfrom
1Reinier:master
Open

Python 2 float/integer compatibility fix#153
1Reinier wants to merge 1 commit intoCadene:masterfrom
1Reinier:master

Conversation

@1Reinier
Copy link
Copy Markdown

@1Reinier 1Reinier commented May 6, 2019

This fixes se_resnext models where math.floor is used to compute layer width. In Python 3 this outputs an integer, but in 2.7 this outputs a float. This fix makes sure an int is always supplied.

@1Reinier
Copy link
Copy Markdown
Author

1Reinier commented May 7, 2019

Travis: The job exceeded the maximum time limit for jobs, and has been terminated.

@1Reinier
Copy link
Copy Markdown
Author

1Reinier commented May 7, 2019

How do I run it with more time? It seems stuck downloading pertained weights

@1Reinier
Copy link
Copy Markdown
Author

1Reinier commented May 7, 2019

@Cadene Thanks ^

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