Open Thatfreesky opened 7 years ago
Hi, For I can not use the dataset_loaders, I decide to read the related source code directly. In the train.py file, I find such code:
train_iter, val_iter, test_iter = load_data(cf.dataset,
train_crop_size=cf.train_crop_size,
batch_size=cf.batch_size,
horizontal_flip=True,
)
n_classes = train_iter.get_n_classes()
Next I go to the data_loader.py, I find the train_iter
, val_iter
, test_iter
all are instances of the CamvidDaraset
Class. Then I search this class in the 'dataset_loaders/images/camvid.py' file. But I can not find the get_n_classes()
method. In fact in the supper class of CamvidDataset
, i.e. ThreadedDataset
, I also have not find this method.
Any update since get_n_classes(), get_void_labels are not found. Kindly suggest
Hi @Thatfreesky ,
I want to train FC-DenseNet, but i don't know how to use dataset_loaders in https://github.com/fvisin/dataset_loaders
So could you please tell me how to use that? Or are there any other solutions for it ?
Thanks a ton!
Hi,
As you see in this issue:https://github.com/fvisin/dataset_loaders/issues/1 I also failed to use the dataset_loaders. So, as I just want to know the implementation of FC-DenseNet, I decided to directly read its source code.
On 09/21/2017 19:27, wlwsea wrote:
Hi @Thatfreesky , I want to train FC-DenseNet, but i don't know how to use dataset_loaders in https://github.com/fvisin/dataset_loaders So could you please tell me how to use that? Or are there any other solutions for it ?
Thanks a ton!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Hi, @Thatfreesky I have trained the code successfully by using fvisin/dataset_loaders, and I put my modified code at #23. You can try it. Hopes that could help you.
你好,正如你在这个问题中看到的:fvisin/dataset_loaders#1 我也没有使用dataset_loaders。所以,因为我只是想知道FC-DenseNet的实现,所以我决定直接阅读它的源代码。在 09/21/2017 19:27,wlwsea 写道:嗨@Thatfreesky,我想训练 FC-DenseNet,但我不知道如何在https://github.com/fvisin/dataset_loaders 中使用 dataset_loaders 所以你能请告诉我如何使用它?或者有其他解决方案吗?万分感谢!— 您收到此消息是因为有人提到了您。直接回复此邮件,在 GitHub 上查看,或将线程静音。
数据好像不能够下载,需要作者提供数据集,否则无法复现。
I clone dataset_loaders repository in my '/home/mountain/GitHub/' dictionary. Then, I use below commands to install the dataset_loaders:
I have not got any error, but when I try to import some something from dataset_loaders, I got some error: