This commit is contained in:
parent
3f7a6d212f
commit
81ef5f8c7d
@ -86,6 +86,10 @@ def load_data(data_path, filename) -> pd.DataFrame:
|
||||
def read_params():
|
||||
global data_path, num_words, epochs, batch_size, pad_length
|
||||
data_path, num_words, epochs, batch_size, pad_length = sys.argv[1].split(',')
|
||||
num_words = int(num_words)
|
||||
epochs = int(epochs)
|
||||
batch_size = int(batch_size)
|
||||
pad_length = int(pad_length)
|
||||
|
||||
|
||||
def main():
|
||||
|
Loading…
Reference in New Issue
Block a user