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
|
@@ -43,7 +43,8 @@ if __name__ == "__main__":
|
|
| 43 |
print(os.system('pwd'))
|
| 44 |
print(os.system('ls -lahtr'))
|
| 45 |
|
| 46 |
-
|
|
|
|
| 47 |
# dataset = load_dataset('webdataset', data_files={)
|
| 48 |
|
| 49 |
print('------------ Now you can do your solution ---------------')
|
|
|
|
| 43 |
print(os.system('pwd'))
|
| 44 |
print(os.system('ls -lahtr'))
|
| 45 |
|
| 46 |
+
dataset = load_dataset(params['dataset'], trust_remote_code=True, use_auth_token=params['token'])
|
| 47 |
+
print(dataset, flush=True)
|
| 48 |
# dataset = load_dataset('webdataset', data_files={)
|
| 49 |
|
| 50 |
print('------------ Now you can do your solution ---------------')
|