3DUNet-Pytorch icon indicating copy to clipboard operation
3DUNet-Pytorch copied to clipboard

why show 'typeerror' when I run the dataset_lits.py

Open xiaoc-lee opened this issue 4 years ago • 1 comments

TypeError: init() takes from 4 to 5 positional arguments but 6 were given,and I run the dataset_lits2.py also show the error.Thanks

xiaoc-lee avatar Mar 20 '20 14:03 xiaoc-lee

There are indeed some problems, because the test code is not updated. You need to modify the last parameter of the dataset : 'mode = ‘’train‘’ ’ in main(). And i have fixed the error in 'dataset_list(2).py'. Thanks for your question

lee-zq avatar Mar 25 '20 04:03 lee-zq