Upload folder using huggingface_hub
Browse files
README.md
CHANGED
@@ -1,4 +1,14 @@
|
|
1 |
-
#
|
2 |
|
3 |
-
This repo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
|
|
1 |
+
# Empty solution example for the S23DR competition
|
2 |
|
3 |
+
This repo provides a minimalistic example of a valid, but empty submission to S23DR competition.
|
4 |
+
We recommend you take a look at [this example](https://huggingface.co/usm3d/handcrafted_baseline_submission),
|
5 |
+
which implements some primitive algorithms and provides useful I/O and visualization functions.
|
6 |
+
|
7 |
+
This example seeks to simply provide minimal code which succeeds at reading the dataset and producing a solution (in this case two vertices at the origin and edge of zero length connecting them).
|
8 |
+
|
9 |
+
`script.py` - is the main file which is run by the competition space. It should produce `submission.parquet` as the result of the run. Please see the additional comments in the `script.py` file.
|
10 |
+
|
11 |
+
---
|
12 |
+
license: apache-2.0
|
13 |
+
---
|
14 |
|
script.py
CHANGED
@@ -38,8 +38,13 @@ if __name__ == "__main__":
|
|
38 |
with param_path.open() as f:
|
39 |
params = json.load(f)
|
40 |
print(params)
|
|
|
|
|
|
|
|
|
41 |
|
42 |
-
dataset = load_dataset("usm3d/hoho25k_test_x", trust_remote_code=True, use_auth_token=params['token'])
|
|
|
43 |
|
44 |
print('------------ Now you can do your solution ---------------')
|
45 |
solution = []
|
|
|
38 |
with param_path.open() as f:
|
39 |
params = json.load(f)
|
40 |
print(params)
|
41 |
+
import os
|
42 |
+
|
43 |
+
print(os.system('pwd'))
|
44 |
+
print(os.system('ls -lahtr'))
|
45 |
|
46 |
+
# dataset = load_dataset("usm3d/hoho25k_test_x", trust_remote_code=True, use_auth_token=params['token'])
|
47 |
+
# dataset = load_dataset('webdataset', data_files={)
|
48 |
|
49 |
print('------------ Now you can do your solution ---------------')
|
50 |
solution = []
|