Hi!
I'm attempting to run Kaolin in Google Colab and I get to an error that says "num_views" is set to 0... I am suspecting that this is a directory error but I'm having trouble spotting how to fix it. Any help would be appreciated being that I'm new to Kaolin and getting my bearings using colab. Here is a link to the notebook producing the error.
`---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
in ()
7
8 dataloader = torch.utils.data.DataLoader(train_data, batch_size=batch_size,
----> 9 shuffle=True, pin_memory=True)
1 frames
/usr/local/lib/python3.7/dist-packages/torch/utils/data/sampler.py in init(self, data_source, replacement, num_samples, generator)
101 if not isinstance(self.num_samples, int) or self.num_samples <= 0:
102 raise ValueError("num_samples should be a positive integer "
--> 103 "value, but got num_samples={}".format(self.num_samples))
104
105 @Property
`
https://colab.research.google.com/gist/gschian0/493c56c66eab3785f1c4be8eb00da89d/kaolin-setup-fix.ipynb
Thanks for any help in advance!!
Gennaro Schiano
Hi!
I'm attempting to run Kaolin in Google Colab and I get to an error that says "num_views" is set to 0... I am suspecting that this is a directory error but I'm having trouble spotting how to fix it. Any help would be appreciated being that I'm new to Kaolin and getting my bearings using colab. Here is a link to the notebook producing the error.
`---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
in ()
7
8 dataloader = torch.utils.data.DataLoader(train_data, batch_size=batch_size,
----> 9 shuffle=True, pin_memory=True)
1 frames
/usr/local/lib/python3.7/dist-packages/torch/utils/data/sampler.py in init(self, data_source, replacement, num_samples, generator)
101 if not isinstance(self.num_samples, int) or self.num_samples <= 0:
102 raise ValueError("num_samples should be a positive integer "
--> 103 "value, but got num_samples={}".format(self.num_samples))
104
105 @Property
`
https://colab.research.google.com/gist/gschian0/493c56c66eab3785f1c4be8eb00da89d/kaolin-setup-fix.ipynb
Thanks for any help in advance!!
Gennaro Schiano