Update to the hyperparameters, so they are the winning solution :)
Browse files
script.py
CHANGED
|
@@ -80,7 +80,7 @@ if __name__ == "__main__":
|
|
| 80 |
|
| 81 |
voxel_model = None
|
| 82 |
|
| 83 |
-
config = {'vertex_threshold': 0.
|
| 84 |
|
| 85 |
print('------------ Now you can do your solution ---------------')
|
| 86 |
solution = []
|
|
|
|
| 80 |
|
| 81 |
voxel_model = None
|
| 82 |
|
| 83 |
+
config = {'vertex_threshold': 0.59, 'edge_threshold': 0.65, 'only_predicted_connections': True}
|
| 84 |
|
| 85 |
print('------------ Now you can do your solution ---------------')
|
| 86 |
solution = []
|
train.py
CHANGED
|
@@ -35,8 +35,8 @@ import time
|
|
| 35 |
|
| 36 |
# --- Argument Parsing ---
|
| 37 |
parser = argparse.ArgumentParser(description="Train and evaluate HoHo model with custom config.")
|
| 38 |
-
parser.add_argument('--vertex_threshold', type=float, default=0.
|
| 39 |
-
parser.add_argument('--edge_threshold', type=float, default=0.
|
| 40 |
parser.add_argument('--only_predicted_connections', type=lambda x: (str(x).lower() == 'true'), default=True, help='Use only predicted connections (True/False).')
|
| 41 |
parser.add_argument('--max_samples', type=int, default=50000, help='Maximum number of samples to process.')
|
| 42 |
parser.add_argument('--results_dir', type=str, default="results", help='Directory to save result files.')
|
|
|
|
| 35 |
|
| 36 |
# --- Argument Parsing ---
|
| 37 |
parser = argparse.ArgumentParser(description="Train and evaluate HoHo model with custom config.")
|
| 38 |
+
parser.add_argument('--vertex_threshold', type=float, default=0.59, help='Vertex threshold for prediction.')
|
| 39 |
+
parser.add_argument('--edge_threshold', type=float, default=0.65, help='Edge threshold for prediction.')
|
| 40 |
parser.add_argument('--only_predicted_connections', type=lambda x: (str(x).lower() == 'true'), default=True, help='Use only predicted connections (True/False).')
|
| 41 |
parser.add_argument('--max_samples', type=int, default=50000, help='Maximum number of samples to process.')
|
| 42 |
parser.add_argument('--results_dir', type=str, default="results", help='Directory to save result files.')
|