Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

training on KITTI #122

Open
00ohnim opened this issue Aug 29, 2024 · 1 comment
Open

training on KITTI #122

00ohnim opened this issue Aug 29, 2024 · 1 comment

Comments

@00ohnim
Copy link

00ohnim commented Aug 29, 2024

Hi,thanks for your project!However,when I run it on KITTI,it broke with an issue

Traceback (most recent call last):
File "main.py", line 454, in
main()
File "main.py", line 236, in main
train_set, test_set = datasets.dict[args.dataset](
TypeError: 'module' object is not callable

Does it mean I need to split the dataset?
I use the code to train :python main.py /home/xu/wyh/dataset/KITTI -b8 -j8 -a flownets

Thanks for your help!!!!

@ClementPinard
Copy link
Owner

Hi, could run the script without any problem, on python 3.12 and torch v2.4.
Did you change something in the script or in the folder structure ? Looks like a function was overwritten by a module somehow.

Also, if you plan on training for KITTI, you will need to select the --dataset option, otherwise it will expect a dataset with the same format as Flying chairs.

python main.py /home/xu/wyh/dataset/KITTI -b8 -j8 -a flownets --dataset KITTI_occ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants