Skip to content

'float' object cannot be interpreted as an integer - #20

Open
oudmane wants to merge 1 commit into
kororo:masterfrom
oudmane:patch-1
Open

'float' object cannot be interpreted as an integer#20
oudmane wants to merge 1 commit into
kororo:masterfrom
oudmane:patch-1

Conversation

@oudmane

@oudmane oudmane commented Dec 14, 2021

Copy link
Copy Markdown

I've downloaded test_data_01.xlsx from Google Sheet, and faced this bug.

    for itn in range(self.storage.config.train_iteration):
TypeError: 'float' object cannot be interpreted as an integer

I'm not sure why exactly this bug happens, but I fixed it by converting self.storage.config.train_iteration to int

I've downloaded `test_data_01.xlsx` from Google Sheet, and faced this bug.
```
    for itn in range(self.storage.config.train_iteration):
TypeError: 'float' object cannot be interpreted as an integer
```
I'm not sure why exactly this bug happens, but I fixed it by converting `self.storage.config.train_iteration` to int
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