nicolas-ivanov/tf_seq2seq_chatbot

bash setup.sh access denied

amityaffliction opened this issue · 1 comments

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

@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