Skip to content

Commit c751192

Browse files
authored
master -> main for branches (#626)
master -> primary elsewhere
1 parent 25a27d1 commit c751192

File tree

11 files changed

+24
-24
lines changed

11 files changed

+24
-24
lines changed

.github/ISSUE_TEMPLATE/0-build-issue-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body:
1313
required: true
1414
- label: "I have tested with the [latest development wheel](http://www.open3d.org/docs/latest/getting_started.html#development-version-pip)."
1515
required: true
16-
- label: "I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `master` branch)."
16+
- label: "I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `main` branch)."
1717
required: true
1818

1919
- type: textarea

.github/ISSUE_TEMPLATE/1-bug-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body:
1313
required: true
1414
- label: "I have tested with the [latest development wheel](http://www.open3d.org/docs/latest/getting_started.html#development-version-pip)."
1515
required: true
16-
- label: "I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `master` branch)."
16+
- label: "I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `main` branch)."
1717
required: true
1818

1919
- type: textarea

.github/ISSUE_TEMPLATE/2-questions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body:
1313
required: true
1414
- label: "I have tested with the [latest development wheel](http://www.open3d.org/docs/latest/getting_started.html#development-version-pip)."
1515
required: true
16-
- label: "I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `master` branch)."
16+
- label: "I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `main` branch)."
1717
required: true
1818

1919
- type: textarea

.github/ISSUE_TEMPLATE/3-feature-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body:
1313
required: true
1414
- label: "I have tested with the [latest development wheel](http://www.open3d.org/docs/latest/getting_started.html#development-version-pip)."
1515
required: true
16-
- label: "I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `master` branch)."
16+
- label: "I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `main` branch)."
1717
required: true
1818

1919
- type: textarea

.github/workflows/style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Style check
33
on:
44
workflow_dispatch:
55
push:
6-
branches: [master, dev]
6+
branches: [main, dev]
77
pull_request:
88
types: [opened, reopened, synchronize]
99

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Ubuntu CI
33
on:
44
workflow_dispatch:
55
push:
6-
branches: [master, dev]
6+
branches: [main, dev]
77
pull_request:
88
types: [opened, reopened, synchronize]
99

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="https://raw.githubusercontent.com/isl-org/Open3D/master/docs/_static/open3d_logo_horizontal.png" width="320" />
2+
<img src="https://raw.githubusercontent.com/isl-org/Open3D/main/docs/_static/open3d_logo_horizontal.png" width="320" />
33
<span style="font-size: 220%"><b>ML</b></span>
44
</p>
55

@@ -199,8 +199,8 @@ pipeline.run_train()
199199

200200
```
201201

202-
For more examples see [`examples/`](https://github.com/isl-org/Open3D-ML/tree/master/examples)
203-
and the [`scripts/`](https://github.com/isl-org/Open3D-ML/tree/master/scripts) directories. You
202+
For more examples see [`examples/`](https://github.com/isl-org/Open3D-ML/tree/main/examples)
203+
and the [`scripts/`](https://github.com/isl-org/Open3D-ML/tree/main/scripts) directories. You
204204
can also enable saving training summaries in the config file and visualize ground truth and
205205
results with tensorboard. See this [tutorial](docs/tensorboard.md#3dml-models-training-and-inference)
206206
for details.
@@ -272,10 +272,10 @@ pipeline.run_train()
272272

273273
Below is an example of visualization using KITTI. The example shows the use of bounding boxes for the KITTI dataset.
274274

275-
<img width="640" src="https://github.com/isl-org/Open3D-ML/blob/master/docs/images/visualizer_BoundingBoxes.png?raw=true">
275+
<img width="640" src="https://github.com/isl-org/Open3D-ML/blob/main/docs/images/visualizer_BoundingBoxes.png?raw=true">
276276

277-
For more examples see [`examples/`](https://github.com/isl-org/Open3D-ML/tree/master/examples)
278-
and the [`scripts/`](https://github.com/isl-org/Open3D-ML/tree/master/scripts) directories. You
277+
For more examples see [`examples/`](https://github.com/isl-org/Open3D-ML/tree/main/examples)
278+
and the [`scripts/`](https://github.com/isl-org/Open3D-ML/tree/main/scripts) directories. You
279279
can also enable saving training summaries in the config file and visualize ground truth and
280280
results with tensorboard. See this [tutorial](docs/tensorboard.md#3dml-models-training-and-inference)
281281
for details.
@@ -284,7 +284,7 @@ for details.
284284

285285
### Using predefined scripts
286286

287-
[`scripts/run_pipeline.py`](https://github.com/isl-org/Open3D-ML/blob/master/scripts/run_pipeline.py)
287+
[`scripts/run_pipeline.py`](https://github.com/isl-org/Open3D-ML/blob/main/scripts/run_pipeline.py)
288288
provides an easy interface for training and evaluating a model on a dataset. It saves
289289
the trouble of defining specific model and passing exact configuration.
290290

@@ -409,7 +409,7 @@ The following is a list of datasets for which we provide dataset reader classes.
409409
- Waymo ([project-page](https://waymo.com/open/))
410410
- ScanNet([project-page](http://www.scan-net.org/))
411411

412-
For downloading these datasets visit the respective webpages and have a look at the scripts in [`scripts/download_datasets`](https://github.com/isl-org/Open3D-ML/tree/master/scripts/download_datasets).
412+
For downloading these datasets visit the respective webpages and have a look at the scripts in [`scripts/download_datasets`](https://github.com/isl-org/Open3D-ML/tree/main/scripts/download_datasets).
413413

414414
## How-tos
415415

ci/run_ci.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ echo 1. Prepare the Open3D-ML repo and install dependencies
99
echo
1010
export PATH_TO_OPEN3D_ML="$PWD"
1111
echo "$PATH_TO_OPEN3D_ML"
12-
# the build system of the main repo expects a master branch. make sure master exists
13-
git checkout -b master || true
12+
# the build system of the main repo expects a main branch. make sure main exists
13+
git checkout -b main || true
1414
python -m pip install -U pip==$PIP_VER
1515
python -m pip install -r requirements.txt \
1616
-r requirements-torch.txt
@@ -21,7 +21,7 @@ python -m pip install -U Cython
2121

2222
echo 2. clone Open3D and install dependencies
2323
echo
24-
git clone --branch master https://github.com/isl-org/Open3D.git
24+
git clone --branch main https://github.com/isl-org/Open3D.git
2525

2626
./Open3D/util/install_deps_ubuntu.sh assume-yes
2727
python -m pip install -r Open3D/python/requirements.txt \

model_zoo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ The following is a list of datasets for which we provide dataset reader classes.
3434
* S3DIS ([project-page](http://3dsemantics.stanford.edu/))
3535
* Paris-Lille 3D ([project-page](https://npm3d.fr/paris-lille-3d))
3636

37-
For downloading these datasets visit the respective webpages and have a look at the scripts in [`scripts/download_datasets`](https://github.com/isl-org/Open3D-ML/tree/master/scripts/download_datasets).
37+
For downloading these datasets visit the respective webpages and have a look at the scripts in [`scripts/download_datasets`](https://github.com/isl-org/Open3D-ML/tree/main/scripts/download_datasets).
3838

scripts/run_pipeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ def main():
199199

200200

201201
def setup(rank, world_size, args):
202-
os.environ['MASTER_ADDR'] = args.host
203-
os.environ['MASTER_PORT'] = args.port
202+
os.environ['PRIMARY_ADDR'] = args.host
203+
os.environ['PRIMARY_PORT'] = args.port
204204

205205
# initialize the process group
206206
dist.init_process_group(args.backend, rank=rank, world_size=world_size)

0 commit comments

Comments
 (0)