soeai / mappgraph

Encrypted Network Traffic Classification using Deep Learning
50 stars 8 forks source link

root_path in MAppGraph/mappgraph/notebooks/train_GNN.ipynb is 404(not foud) #3

Closed FireDragon00 closed 2 years ago

FireDragon00 commented 2 years ago

Hi! I wan to run your train_GNN.ipynb code in Google colab. But when I run the follow codes to Load graphs from csv files, it shows HTTP Error.

train_graphs, train_graphlabels, = generate_graphs(train_graphs_folder) test_graphs, test_graphlabels, = generate_graphs(test_graphs_folder) train_size = len(train_graphs)

graphs = train_graphs + test_graphs graph_labels = train_graph_labels.append(test_graph_labels, ignore_index=True)

test_graph_labels = graph_labels[train_size:]

Then I click the root_path above, it is invalid and the page is blank

FireDragon00 commented 2 years ago

I've modified the path and it works.However, when I still run these codes showed in my question, it results in another error:

/usr/local/lib/python3.7/dist-packages/pandas/_libs/parsers.pyx in pandas._libs.parsers.raise_parser_error() ParserError: Error tokenizing data. C error: Expected 1 fields in line 172, saw 2