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

keyerror #40

Open
xieyilin19 opened this issue Aug 21, 2022 · 2 comments
Open

keyerror #40

xieyilin19 opened this issue Aug 21, 2022 · 2 comments

Comments

@xieyilin19
Copy link

I met this problem that when i tried to run the train.py, it said that '' keyerror 'train' '',but I have no idea why this happened. Is there anyone meeting the same problem? Thx a lot.
5dad7974a2db32291261fd1af52ea4d

@canzhi9
Copy link

canzhi9 commented Oct 21, 2022

请问你解决了吗

@Destined777
Copy link

You could try modifying get_directory_name_with_pointer in utils.py by replacing the former codes with belows.
folder_name = self.data_dirs[pointer_index].split('/')[-1]
folder_name = folder_name.split('\\')[0]
return folder_name

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

3 participants