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

bash setup.sh access denied #9

Open
amityaffliction opened this issue May 27, 2016 · 1 comment
Open

bash setup.sh access denied #9

amityaffliction opened this issue May 27, 2016 · 1 comment

Comments

@amityaffliction
Copy link

tf_seq2seq_chatbot son$ sh setup.sh
Cloning into 'Seq2Seq_Upgrade_TensorFlow'...
Permission denied (publickey).
fatal: Could not read from remote repository.


bash setup.sh returns above error

I don't know what is the problem

@goodrahstar
Copy link

@amityaffliction I to faced same issue so i changed the file as below n it worked.

#!/usr/bin/env bash

create and own the directories to store results locally

save_dir='/Users/rahulkumar/Desktop/ml/tf_seq2seq_chatbot/bot/'
sudo mkdir -p $save_dir'/data/'
sudo mkdir -p $save_dir'/nn_models/'
sudo mkdir -p $save_dir'/results/'
sudo chown -R "$USER" $save_dir

copy train and test data with proper naming

data_dir='tf_seq2seq_chatbot/data/train'
cp $data_dir'/movie_lines_cleaned.txt' $save_dir'/data/chat.in'
cp $data_dir'/movie_lines_cleaned_10k.txt' $save_dir'/data/chat_test.in'

build and install the tweaked Seq2Seq_Upgrade_TensorFlow package

cd $save_dir
git clone https://github.com/nicolas-ivanov/Seq2Seq_Upgrade_TensorFlow
cd Seq2Seq_Upgrade_TensorFlow
sudo python setup.py build & sudo python setup.py install

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