This repository has been archived by the owner. It is now read-only.
fixed classification prediction for multiple nodules #273
Bug fixed. When the length of the nodules list is more then 1 – prediction fails as follows:
More details here.
Bug fixed. When the length of the nodules list is more then 1 – prediction fails as follows: ``` ~/concept-to-clinic/prediction/src/algorithms/classify/src/gtr123_model.py in predict(ct_path, nodule_list, model_path) 275 results =  276 --> 277 for nodule, (cropped_image, coords) in zip(nodule_list, patches): 278 cropped_image = Variable(torch.from_numpy(cropped_image[np.newaxis, np.newaxis]).float()) 279 cropped_image.volatile = True ValueError: too many values to unpack (expected 2) ``` More details [here](#272 (comment)). ## CLA - [x] I have signed the CLA; if other committers are in the commit history, they have signed the CLA as well
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments.