Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrating torchsharp functionality into Bonsai #48

Open
wants to merge 78 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
b1be644
Added tensors library
ncguilbeault Aug 23, 2024
158f682
Added arange function
ncguilbeault Aug 23, 2024
ceabd85
Added concat class
ncguilbeault Aug 23, 2024
0c33017
Added arange function
ncguilbeault Aug 23, 2024
518a989
Added linspace
ncguilbeault Aug 23, 2024
004db9b
Added meshgrid
ncguilbeault Aug 23, 2024
a8e4a83
Added ones
ncguilbeault Aug 23, 2024
d5bf196
Added zeros
ncguilbeault Aug 23, 2024
9f22932
Added device initialization
ncguilbeault Aug 23, 2024
7da5f09
Added ability to move tensor to device
ncguilbeault Aug 23, 2024
a6dc975
Added permute
ncguilbeault Aug 23, 2024
111e97e
Added reshape
ncguilbeault Aug 23, 2024
2776c09
Added set
ncguilbeault Aug 23, 2024
1bb5311
Updated csproj with opencv.net package
ncguilbeault Aug 23, 2024
747f8d1
Added concatenate class
ncguilbeault Aug 23, 2024
78aa6be
Added convert data type
ncguilbeault Aug 23, 2024
829545e
Added create tensor method
ncguilbeault Aug 23, 2024
65347bd
Added index method and updated set method
ncguilbeault Aug 23, 2024
5fea7bf
Defined tensor data types as subset of ScalarType
ncguilbeault Aug 23, 2024
7d1abd4
Added to array method
ncguilbeault Aug 23, 2024
34f4857
Added tensor data type helper
ncguilbeault Aug 23, 2024
97e2fe7
Added methods to convert OpenCV types
ncguilbeault Aug 23, 2024
9d932e5
Refactored to torch namespace instead of tensors
ncguilbeault Aug 27, 2024
ba7f53b
Removed previous Bonsai.ML.Tensors directory and contents
ncguilbeault Aug 27, 2024
10aa92b
Updated solution to reflect change
ncguilbeault Aug 27, 2024
f7e372c
Moved Tensors namespace to main Torch namespace
ncguilbeault Aug 27, 2024
3692cb3
Updated to reflect new namespace
ncguilbeault Aug 27, 2024
b51fb53
Removed unfinished classes
ncguilbeault Aug 27, 2024
3c1838c
Updated to use common Bonsai.ML.Data project
ncguilbeault Sep 4, 2024
c548469
Added additional overloads to process method
ncguilbeault Sep 4, 2024
a594f04
Updated to use common data tools
ncguilbeault Sep 4, 2024
3a15591
Updated tensor data type and helper
ncguilbeault Sep 4, 2024
279d6b7
Updated formatting
ncguilbeault Sep 4, 2024
3910867
Removed bonsai core dependency in favor of bonsai.ml dependency
ncguilbeault Sep 26, 2024
f002c6f
Fixed bugs with create tensor method and updated to use string formatter
ncguilbeault Sep 26, 2024
9ffb9f0
Added empty tensor creator
ncguilbeault Sep 26, 2024
200057a
Moved index helper to main library
ncguilbeault Sep 26, 2024
0438eb2
Moved opencv helper to main library
ncguilbeault Sep 26, 2024
37acfc4
Removed opencv helper from helpers subfolder
ncguilbeault Sep 26, 2024
d52af6c
Updated with new index helper
ncguilbeault Sep 26, 2024
15a586d
Updated with opencv helper
ncguilbeault Sep 26, 2024
30d5c67
Added process overload for generating on input
ncguilbeault Sep 26, 2024
3e6797b
Added xml ignore tag on device
ncguilbeault Sep 27, 2024
9bfe4e3
Updated to use shared module interface
ncguilbeault Oct 16, 2024
0b22a07
Modified to use Module interface
ncguilbeault Oct 30, 2024
804aaf9
Removed unnecessary null string
ncguilbeault Oct 30, 2024
77caa53
Added a common interface
ncguilbeault Nov 1, 2024
4013613
Added swap axes function
ncguilbeault Nov 6, 2024
ee95aea
Added tile function
ncguilbeault Nov 6, 2024
6b3d178
Updated model loading and model forward procedure
ncguilbeault Nov 6, 2024
1e5f99f
Added backward function for running online gradient descent with spec…
ncguilbeault Nov 14, 2024
fe6eb7d
Added function to save model
ncguilbeault Nov 14, 2024
811d031
Changed name to indicate loading from an existing architecture
ncguilbeault Jan 20, 2025
978194b
Added descriptions and documentation
ncguilbeault Jan 20, 2025
6286f61
Added some useful classes for linear algebra
ncguilbeault Jan 20, 2025
c363b5b
Adding classes for creating tensor indexes
ncguilbeault Jan 20, 2025
b2bebb8
Updated MNIST model architecture with correct fully connected layer size
ncguilbeault Jan 20, 2025
e261425
Added class to explicitly create a clone of a tensor
ncguilbeault Jan 20, 2025
98a65fd
Update to use correct width for an IplImage based on widthstep rather…
ncguilbeault Jan 20, 2025
4e2ae53
Explicitly use static torch.Tensor type for defining expressions
ncguilbeault Jan 20, 2025
12ec59e
Update set with process overloads to handle passing in tensor index
ncguilbeault Jan 20, 2025
5630f01
Fixed incorrectly generating ones instead of zeros
ncguilbeault Jan 20, 2025
69efcbf
Updated to correctly parse colons in string
ncguilbeault Jan 20, 2025
556e1ad
Updated to use collection expressions
ncguilbeault Jan 20, 2025
f2ceb9d
Added documentation
ncguilbeault Jan 20, 2025
ff8e902
Updated to use collection expressions
ncguilbeault Jan 21, 2025
189aff1
Add process overload to initialize device on input
ncguilbeault Jan 21, 2025
9bb600f
Added documentation
ncguilbeault Jan 21, 2025
4d3297d
Added file name editor attribute to model path
ncguilbeault Jan 21, 2025
6969a7c
Updated to latest torchsharp version
ncguilbeault Jan 21, 2025
e35980f
Update class name to reflect file name
ncguilbeault Jan 21, 2025
4465a3c
Added documentation to package
ncguilbeault Jan 23, 2025
da81e8b
Fixed issue with MNIST model not accepting num classes
ncguilbeault Jan 23, 2025
d06a4c2
Made slight correction to GPU documentation
ncguilbeault Jan 24, 2025
139488e
Modified torch module classes to be internel
ncguilbeault Jan 29, 2025
3071fb7
Reworked OpenCV <-> TorchSharp conversions to respect the garbage col…
PathogenDavid Jan 29, 2025
643797c
Removed unnecessary GCHandle usage (the lambda itself makes the ancho…
PathogenDavid Feb 4, 2025
91b866b
Merge pull request #51 from NgrDavid/dev/torchsharp
ncguilbeault Feb 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed unfinished classes
  • Loading branch information
ncguilbeault committed Jan 21, 2025
commit b51fb535aa41add455f766ef884f872709e5e7f8

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions src/Bonsai.ML.Torch/NeuralNets/ModelManager.cs

This file was deleted.