LiUzHiAn / hf2vad

MIT License
121 stars 23 forks source link

ModuleNotFoundError: No module named 'datasets.dataset' #19

Closed Pros-yanghaozhe closed 2 years ago

Pros-yanghaozhe commented 2 years ago

I met the problem: ModuleNotFoundError: No module named 'datasets.dataset' when running ‘python extract_flows.py --dataset_name=ped2 --mode=train’

LiUzHiAn commented 2 years ago

Please check where you are (i.e., the current working direction). Maybe you can change to the root directory, and run python pre_process/extract_flows.py. BTW, I used the Pycharm IDE, it works well with the provided instructions.

ChiSrwi commented 2 years ago

I also want to ask how to solve this problem. I want to know is that the root directory which is the directory of the project? Also I want to know what is the version of the datasets package?

ChiSrwi commented 2 years ago

@LiUzHiAn

LiUzHiAn commented 2 years ago

Moving the pre_process/extract_flows.py to the root dir and then executing it there would resolve the problem. The root directory is where the train.py and eval.py are placed.

I temporally close this issue, feel free to reopen if you can't get around.