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

Run create_dataset.py #1

Open
sarmadm opened this issue Oct 26, 2018 · 4 comments
Open

Run create_dataset.py #1

sarmadm opened this issue Oct 26, 2018 · 4 comments

Comments

@sarmadm
Copy link

sarmadm commented Oct 26, 2018

Hi

Could you please help , is below command to run is right ?

python create_dataset.py ~/C:/Users//PyProjects/ckp/ ~/C:/Users//PyProjects/ckp/FACS_labels/ ~/C:/Users/PyProjects/ckp/ckpcohn-kanade-images/ ~/C:/Users/PyProjects/ckp/emotion_images/ True 0 9 3 112 112

@robsanpam
Copy link
Owner

Are you using Windows? I developed this code to work with Ubuntu, so I am not sure if the string paths are supposed to be written that way in Windows.

@sarmadm
Copy link
Author

sarmadm commented Nov 11, 2018

yes , im using windows anaconda env

@sarmadm
Copy link
Author

sarmadm commented Nov 12, 2018

Now when I run train.py this error shows :

Using TensorFlow backend. Traceback (most recent call last): File "train.py", line 314, in <module> main(sys.argv[1:]) File "train.py", line 225, in main emotions_dir = str(argv[0]) IndexError: list index out of range

@robsanpam
Copy link
Owner

Try removing the "~/" from the beginning of your paths when you run the script. Also, I notice that you have some double slashes ( // ) on your paths which you must replace with single ones ( / ).

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