Traceback (most recent call last):


 "C:/Users/Farshid/PycharmProjects/CommunityDetection/Main.py", line 104, in <module>

num_nodes_min_max_tr, theta)


 "C:\Users\Farshid\PycharmProjects\CommunityDetection\Helper.py", line 234, in create_placeholders

rand, batch_size, num_nodes_min_max, theta)


 "C:\Users\Farshid\PycharmProjects\CommunityDetection\Helper.py", line 209, in generate_networkx_graphs

input_graph, target_graph = graph_to_input_target(graph)


 "C:\Users\Farshid\PycharmProjects\CommunityDetection\Helper.py", line 168, in graph_to_input_target

target_node = to_one_hot(create_feature(node_feature, target_node_fields).astype(int), 2)[0]


 "C:\Users\Farshid\PycharmProjects\CommunityDetection\Helper.py", line 28, in to_one_hot

one_hot = np.eye(max_value)[indices]
IndexError: index 2 is out of bounds for axis 0 with size 2

Traceback (most recent call last):


 "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/settings/production.py", line 84, in <module>

include(settings_file, optional(settings_files), scope=locals())


 "/var/lib/awx/venv/awx/lib/python3.6/site-packages/split_settings/tools.py", line 107, in include

exec(compiled_code, scope)
# noqa: S102, WPS421


 "/etc/tower/settings.py", line 19, in <module>

SECRET_KEY = get_secret()


 "/etc/tower/settings.py", line 8, in get_secret

return open('/etc/tower/SECRET_KEY', 'rb').read().strip()
IsADirectoryError: [Errno 21] Is a directory: '/etc/tower/SECRET_KEY'
