Skip to content

Commit 00faa30

Browse files
committed
Name changes from ptjs to pytorchjs
1 parent 9720348 commit 00faa30

File tree

16 files changed

+41
-40
lines changed

16 files changed

+41
-40
lines changed

.github/PULL_REQUEST_TEMPLATE/Bugfix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ please include a screenshot showing the fix. -->
2323

2424
<!--- If you have any questions, please reach out! We are here to help. -->
2525

26-
- [ ] I have read the [`CONTRIBUTING.md`](https://github.com/raghavmecheri/ptjs/blob/master/CONTRIBUTING.md) and followed its [Guidelines](https://github.com/raghavmecheri/ptjs/blob/master/CONTRIBUTING.md#guidelines)
26+
- [ ] I have read the [`CONTRIBUTING.md`](https://github.com/raghavmecheri/pytorchjs/blob/master/CONTRIBUTING.md) and followed its [Guidelines](https://github.com/raghavmecheri/pytorchjs/blob/master/CONTRIBUTING.md#guidelines)
2727
- [ ] I have linted my code locally, following the project's code style
2828
- [ ] I have updated the product documentation and ensured that the changes are reflected

.github/PULL_REQUEST_TEMPLATE/Documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ about: Improves documentation for the API or on the docs website.
2020

2121
<!--- If you have any questions, please reach out! We're here to help. -->
2222

23-
- [ ] I have read the [`CONTRIBUTING.md`](https://github.com/raghavmecheri/ptjs/blob/master/CONTRIBUTING.md) and followed its [Guidelines](https://github.com/raghavmecheri/ptjs/blob/master/CONTRIBUTING.md#guidelines)
23+
- [ ] I have read the [`CONTRIBUTING.md`](https://github.com/raghavmecheri/pytorchjs/blob/master/CONTRIBUTING.md) and followed its [Guidelines](https://github.com/raghavmecheri/pytorchjs/blob/master/CONTRIBUTING.md#guidelines)

.github/PULL_REQUEST_TEMPLATE/Feature.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: New Feature
3-
about: Adds a new feature to ptjs
3+
about: Adds a new feature to pytorchjs
44

55
---
66

@@ -43,6 +43,6 @@ comment. --->
4343

4444
<!--- If you have any questions, please reach out! We are here to help. -->
4545

46-
- [ ] I have read the [`CONTRIBUTING.md`](https://github.com/raghavmecheri/ptjs/blob/master/CONTRIBUTING.md) and followed its [Guidelines](https://github.com/raghavmecheri/ptjs/blob/master/CONTRIBUTING.md#guidelines)
46+
- [ ] I have read the [`CONTRIBUTING.md`](https://github.com/raghavmecheri/pytorchjs/blob/master/CONTRIBUTING.md) and followed its [Guidelines](https://github.com/raghavmecheri/pytorchjs/blob/master/CONTRIBUTING.md#guidelines)
4747
- [ ] I have linted my code locally, following the project's code style
4848
- [ ] I have tested my changes locally, and all tests pass

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Contributing
22

3-
Thank you for your interest in contributing to ptjs!
3+
Thank you for your interest in contributing to pytorchjs!
44

5-
We invite you to participate in our community by adding and commenting on [issues](https://github.com/raghavmecheri/ptjs/issues) (e.g., bug reports; new feature suggestions) or contributing code enhancements through a pull request.
5+
We invite you to participate in our community by adding and commenting on [issues](https://github.com/raghavmecheri/pytorchjs/issues) (e.g., bug reports; new feature suggestions) or contributing code enhancements through a pull request.
66

7-
If you have any general questions about contributing to ptjs, please feel free to email [Raghav](raghav.mecheri@columbia.edu), or just open an issue on [Github](https://github.com/raghavmecheri/ptjs/issues/new).
7+
If you have any general questions about contributing to pytorchjs, please feel free to email [Raghav](raghav.mecheri@columbia.edu), or just open an issue on [Github](https://github.com/raghavmecheri/pytorchjs/issues/new).
88
## Guidelines
99

10-
When submitting PRs to ptjs, please respect the following general
10+
When submitting PRs to pytorchjs, please respect the following general
1111
coding guidelines:
1212

1313
* All PRs should be accompanied by an appropriate label as per [lerna-changelog](https://github.com/lerna/lerna-changelog), and reference any issue they resolve.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div align="center">
22

3-
<img src="https://raw.githubusercontent.com/raghavmecheri/ptjs/master/assets/img/ptjs.png" width="300px">
3+
<img src="https://raw.githubusercontent.com/raghavmecheri/pytorchjs/master/assets/img/ptjs.png" width="300px">
44

55

66
**Torch and TorchVision, for your Node servers.

examples/Exporting/Exporting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Exporting your PyTorch model for use with ptjs
2-
ptjs currently only supports models that are in TorchScript, which is an intermediate representation of a PYTorch model that can be run in other high performance environments like C++ and (thanks to this library!) JavaScript.<br>
1+
# Exporting your PyTorch model for use with pytorchjs
2+
pytorchjs currently only supports models that are in TorchScript, which is an intermediate representation of a PYTorch model that can be run in other high performance environments like C++ and (thanks to this library!) JavaScript.<br>
33
However, any PyTorch model can be saved as a TorchScript module. An example of the same may be found below.
44
```python
55
import torch

examples/Usage/Basic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Using ptjs to run your torchscript models in Node
1+
# Using pytorchjs to run your torchscript models in Node
22

33
## Background
4-
This example assumes that you have a pre-trained torch model, that has been exported to [torchscript](https://pytorch.org/tutorials/beginner/Intro_to_TorchScript_tutorial.html), as well as an image dataset conforming to the structure that the ptjs DatasetFolder class expects. The structure may also be found below, for reference, and a sample script to export a torch model to torchscript can be found [here](../Exporting/Exporting.md)
4+
This example assumes that you have a pre-trained torch model, that has been exported to [torchscript](https://pytorch.org/tutorials/beginner/Intro_to_TorchScript_tutorial.html), as well as an image dataset conforming to the structure that the pytorchjs DatasetFolder class expects. The structure may also be found below, for reference, and a sample script to export a torch model to torchscript can be found [here](../Exporting/Exporting.md)
55

66
## Required File Structure
77
```

examples/Usage/Transforms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Using a custom ptjs transform in your workflow
1+
# Using a custom pytorchjs transform in your workflow
22

33
## Background
4-
This example assumes that you have a pre-trained torch model, that has been exported to [torchscript](https://pytorch.org/tutorials/beginner/Intro_to_TorchScript_tutorial.html), as well as an image dataset conforming to the structure that the ptjs DatasetFolder class expects. The structure may also be found below, for reference, and a sample script to export a torch model to torchscript can be found [here](../Exporting/Exporting.md)
4+
This example assumes that you have a pre-trained torch model, that has been exported to [torchscript](https://pytorch.org/tutorials/beginner/Intro_to_TorchScript_tutorial.html), as well as an image dataset conforming to the structure that the pytorchjs DatasetFolder class expects. The structure may also be found below, for reference, and a sample script to export a torch model to torchscript can be found [here](../Exporting/Exporting.md)
55

66
## Required File Structure
77
```

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"pytorch",
1717
"torch",
1818
"torchvision",
19+
"pytorchjs",
1920
"ptjs"
2021
],
2122
"dependencies": {

src/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
/**
2-
* A module representing ptjs and its components
3-
* @exports ptjs
2+
* A module representing pytorchjs and its components
3+
* @exports pytorchjs
44
* @author Raghav Mecheri
55
*/
66
import torch from "./torch";
77
import torchvision from "./torchvision";
88

99
/**
10-
* @summary A module representing ptjs and its components
11-
* @property {Object} torch The ptjs torch module
12-
* @property {Object} torchvision The ptjs torchvision module
10+
* @summary A module representing pytorchjs and its components
11+
* @property {Object} torch The pytorchjs torch module
12+
* @property {Object} torchvision The pytorchjs torchvision module
1313
*/
1414

15-
const ptjs = {
15+
const pytorchjs = {
1616
torch,
1717
torchvision,
1818
};
1919

20-
module.exports = ptjs;
20+
module.exports = pytorchjs;

0 commit comments

Comments
 (0)