Skip to content

Commit c691bbc

Browse files
baltzelltongtongcao
authored andcommitted
Move networks to another repository (#970)
* add networks as a submodule * add it to the build script
1 parent 69f196e commit c691bbc

File tree

13 files changed

+8
-4
lines changed

13 files changed

+8
-4
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[submodule "validation/advanced-tests/data"]
55
path = validation/advanced-tests/data
66
url = https://code.jlab.org/hallb/clas12/coatjava/advanced-tests
7+
[submodule "etc/nnet"]
8+
path = etc/data/nnet
9+
url = https://code.jlab.org/hallb/clas12/coatjava/networks

build-coatjava.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ download () {
110110
cd $src_dir > /dev/null
111111
git lfs install
112112
git submodule update --init etc/data/magfield
113+
git submodule update --init etc/data/nnet
113114
if $downloadData; then git submodule update --init validation/advanced-tests/data; fi
114115
cd - > /dev/null
115116
else

etc/ejml/ejmlclas12.network

-669 KB
Binary file not shown.
-17.2 KB
Binary file not shown.

etc/nnet/dc_negative.nnet

-49.3 KB
Binary file not shown.

etc/nnet/dc_positive.nnet

-51.9 KB
Binary file not shown.
-1.09 MB
Binary file not shown.
-59 KB
Binary file not shown.

etc/nnet/neuroph/trackFixer.nnet

-19.2 KB
Binary file not shown.

reconstruction/ai/src/main/java/org/jlab/service/ai/DCDenoiseEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public boolean init() {
6565
try {
6666
criteria = Criteria.builder()
6767
.setTypes(float[][].class, float[][].class)
68-
.optModelPath(Paths.get(ClasUtilsFile.getResourceDir("CLAS12DIR","etc/nnet/dn/cnn_autoenc_sector1_nBlocks2.pt")))
68+
.optModelPath(Paths.get(ClasUtilsFile.getResourceDir("CLAS12DIR","etc/data/nnet/dn/cnn_autoenc_sector1_nBlocks2.pt")))
6969
.optEngine("PyTorch")
7070
.optTranslator(DCDenoiseEngine.getTranslator())
7171
.optProgress(new ProgressBar())

0 commit comments

Comments
 (0)