Skip to content

Python 2 float/integer compatibility fix - #153

Open
1Reinier wants to merge 1 commit into
Cadene:masterfrom
1Reinier:master
Open

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

Conversation

@1Reinier

@1Reinier 1Reinier commented May 6, 2019

Copy link
Copy Markdown

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

1Reinier commented May 7, 2019

Copy link
Copy Markdown
Author

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

@1Reinier

1Reinier commented May 7, 2019

Copy link
Copy Markdown
Author

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

@1Reinier

1Reinier commented May 7, 2019

Copy link
Copy Markdown
Author

@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