You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm following the first tutorial (RadIO.I.ipynb) and I always seem to get the same error. I've tryed with different data than from the Luna dataset and I get the same error.
After running this line:
batch= (luna_dataset>>preprocessing).next_batch(batch_size=3, shuffle=False) # execution starts when you call next_batch
I get:
---------------------------------------------------------------------------TypeErrorTraceback (mostrecentcalllast)
<ipython-input-14-2649f0c8a285>in<module>()
---->1batch= (luna_dataset>>preprocessing).next_batch(batch_size=3, shuffle=False) # execution starts when you call next_batch6frames/usr/local/lib/python3.6/dist-packages/radio/batchflow/batchflow/dsindex.pyinsubset_by_pos(self, pos)
84defsubset_by_pos(self, pos):
85""" Return subset of index by given positions in the index. """--->86returnself.index[pos]
8788defcreate_subset(self, index):
TypeError: onlyintegerscalararrayscanbeconvertedtoascalarindex
I'm running the notebook on google colab, but I also get the same error when running in my laptop.
What I am doing wrong here?
The text was updated successfully, but these errors were encountered:
Hi,
I'm following the first tutorial (RadIO.I.ipynb) and I always seem to get the same error. I've tryed with different data than from the Luna dataset and I get the same error.
After running this line:
I get:
I'm running the notebook on google colab, but I also get the same error when running in my laptop.
What I am doing wrong here?
The text was updated successfully, but these errors were encountered: