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
NotFoundError: Container localhost does not exist. #6
Comments
Can you provide any code or whatsoever that can reproduce the problem? From what I guess this sounds more like a problem related to a tensorflow model/library you are using. |
Thank you for the reply. I have added !rm utils.* and now the warning have changed. Below are the new logs - START rm: cannot remove 'utils*': No such file or directory utils.py 100%[===================>] 6.77K --.-KB/s in 0s 2018-07-12 01:15:28 (28.2 MB/s) - ‘utils.py’ saved [6935/6935] Requirement already satisfied: tqdm in /usr/local/lib/python3.6/dist-packages (4.23.4) tboard.py 100%[===================>] 5.09K --.-KB/s in 0s 2018-07-12 01:15:35 (52.8 MB/s) - ‘tboard.py’ saved [5214/5214] ngrok installed During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): END I am adding the codes that I have used in the next comment |
These codes are from Hvass-Labs rep, I am using them to get a grasp on machine translation. Thanks to Hvass-Labs. ######################################################################## Functions for downloading and extracting data-files from the internet.Implemented in Python 3.5######################################################################## This file is part of the TensorFlow Tutorials available at:https://github.com/Hvass-Labs/TensorFlow-TutorialsPublished under the MIT License. See the file LICENSE for details.Copyright 2016 by Magnus Erik Hvass Pedersen######################################################################## import sys ######################################################################## def _print_download_progress(count, block_size, total_size):
######################################################################## def maybe_download_and_extract_1(url, download_dir):
######################################################################## Directory where you want to download and save the data-set.Set this before you start calling any of the functions below.data_dir = "/content/drive/ColabNotebooks/nmt2" Base-URL for the data-sets on the internet.data_url = "http://www.statmt.org/europarl/v7/" ######################################################################## Public functions that you may call to download the data-set fromthe internet and load the data into memory.def maybe_download_and_extract(language_code="da"):
def load_data(english=True, language_code="da", start="", end=""):
import matplotlib.pyplot as plt num_words = 10000
tokenizer_src = TokenizerWrap(texts=data_src, tokenizer_dest = TokenizerWrap(texts=data_dest, tokens_src = tokenizer_src.tokens_padded token_start = tokenizer_dest.word_index[mark_start.strip()] encoder_input_data = tokens_src encoder_input = Input(shape=(None, ), name='encoder_input') state_size = 128 def connect_encoder():
encoder_output = connect_encoder() decoder_initial_state = Input(shape=(state_size,), decoder_gru1 = GRU(state_size, name='decoder_gru1', decoder_dense = Dense(num_words, def connect_decoder(initial_state):
decoder_output = connect_decoder(initial_state=encoder_output) model_train = Model(inputs=[encoder_input, decoder_input], model_encoder = Model(inputs=[encoder_input], decoder_output = connect_decoder(initial_state=decoder_initial_state) model_decoder = Model(inputs=[decoder_input, decoder_initial_state], def sparse_cross_entropy(y_true, y_pred):
optimizer = RMSprop(lr=1e-3) model_train.compile(optimizer=optimizer, HERE GOES YOUR CODES FOR THE CALLBACKS !rm utils* def compare(best, new): def path(new): callbacks = cb = [ THE END |
Where are you running the code on? I don't think it is directly related to my code, but rather due to conflicting requirements. |
I am the running on the google colab(gpu). |
Hi, I am trying to use the code snippet for creating the callback but getting this error ->
NotFoundError: Container localhost does not exist. (Could not find resource: localhost/RMSprop_2/iterations)
Please can you help me?
The text was updated successfully, but these errors were encountered: