Schoen Tannenbaum
5f9fce572d
RegularizerAPI and UnitTest
1 year ago
Schoen Tannenbaum
f5ba382e49
Regularizer addition and fixes
1 year ago
Rinne
59b08cab05
Merge pull request #940 from Fiffers/patch-1
Fix Conv2dTranspose bias
1 year ago
Rinne
ee004c0197
Merge pull request #1212 from Wanglongzhi2001/fix_validation_data_pack
fix: fix the validation_pack when multiple input
1 year ago
Wanglongzhi2001
53bd70bed3
fix: fix the validation_pack when multiple input
1 year ago
Haiping Chen
94c0bb8796
Release v0.150.0 based on tensorflowv v2.15.0.
1 year ago
SMURF
eb4ff88d39
fix: Saving a loaded model
1 year ago
dogvane
ec4f372a29
add relu6
1 year ago
Jucko13
93a242c08a
Implemented support for loading Concatenate layers
model.load_model now supports loading of concatenate layers.
python tensorflow exports concatenate layers in an extra nested array in the manifest so added a check for that in generic_utils.cs.
Concatenate was missing the build=true, this fix prevents the layer being build multiple times.
Concatenate has 2 or more input nodes so List<NodeConfig> was required instead of just NodeConfig in Functional.FromConfig.cs.
Added missing axis JsonProperty attribute for MergeArgs (used by Concatenate)
2 years ago
dogvane
baf620a3e8
解决keras模式下,使用GPU训练时会爆显存的bug。
观察到的现象是,一些模型增大batchsize后,会在首个epoch的中途爆显存不足,只要过了一个epoch后,就能完整训练。同样的batchsize在python下能设置大得多的值。
最后使用最小训练代码分析出,是每个step之后,图片加载到显存里的数据没有释放导致的。
在寻找释放显存接口没有结果的时候,直接使用了GC.Collect();可以让显存主动回收。
因此当前的修复方案是在每个step里,都执行一次 GC.Collect(); 用来释放显存资源。
2 years ago
dogvane
5e4f53077f
修正图片左右和上下翻转的问题,并增加对应测试用例。
2 years ago
dogvane
ba8f0b084f
add DepthwiseConv2D (深度可分离卷积)
2 years ago
Wanglongzhi2001
a1c64effcf
feat: add the implementation of class_weight in model.fit
2 years ago
hchen
0f02885dfb
Allow Model to cache weights.
2 years ago
Wanglongzhi2001
f5af07ce5e
feat: add the implementation of sample_weight in model.fit
2 years ago
Haiping Chen
eb4c1f4fb0
Release v0.110.4.
2 years ago
lingbai-kong
9fb847991a
fix: adjust imdb dataset loader for faster loading speed
2 years ago
Wanglongzhi2001
f809f6eace
fix: fix EarlyStopping
2 years ago
Haiping Chen
725ec1e55f
Optimize imdb.load_data
2 years ago
lingbai-kong
628b2ce736
optimize temporal complexity of Imdb dataset loader
2 years ago
Asaf Agami
1142828855
fix: model does not stop on stop_training == true
2 years ago
lingbai-kong
f57a6fe6ed
optimize the time complexity of Imdb dataset loader
2 years ago
lingbai-kong
28c77f53d6
implement Imdb dataset loader
2 years ago
lingbai-kong
10f6819f08
Merge branch 'master' into ndarrayload
# Conflicts:
# src/TensorFlowNET.Core/Tensorflow.Binding.csproj
# src/TensorFlowNET.Keras/Datasets/Imdb.cs
2 years ago
lingbai-kong
ea978bbf21
optimize code structure of reconstruction ndarray from pickled npy file
2 years ago
lingbai-kong
9d10daf30f
add reconstruction and setstate of NDArray for loading pickled npy file.
2 years ago
Wanglongzhi2001
7b077eac7e
feat: implement GRU layer
2 years ago
Haiping Chen
ba1ddb4448
Set SGD default value.
2 years ago
Haiping
b18343ca26
Merge pull request #1165 from lingbai-kong/imdbfix
fix: validate dataset of `Imdb` do not load bug & add: custom `Imdb` path
2 years ago
lingbai-kong
8e3ba22c83
fix: validate dataset of `Imdb` do not load bug & add: custom `Imdb` path
2 years ago
Wanglongzhi2001
f679af67e6
fix: partially fix the bug of load_model
2 years ago
“Wanglongzhi2001”
6d3f134637
fix: remove the reflection in the implemention of Bidirectional
2 years ago
“Wanglongzhi2001”
f3b3d8be65
fix: add the momentum parameter's implemention of SGD
2 years ago
Beacontownfc
8b17b14f30
Update hdf5_format.cs
2 years ago
Beacontownfc
05dbe134f8
Update hdf5_format.cs
2 years ago
Beacontownfc
737910df9e
Fix: model.load_weights
2 years ago
“Wanglongzhi2001”
0c9437afcb
feat: add Bidirectional layer
2 years ago
Haiping Chen
6ec39ba3cb
Fix inferred_value of KerasTensor. #1142
2 years ago
“Wanglongzhi2001”
3bef87aefc
fix: make the initialization of the layer's name correct
2 years ago
Haiping Chen
7b26d6699a
Adjust location of KerasTensor.
2 years ago
Longzhi Wang
d9c97a46cc
Merge branch 'SciSharp:master' into master
2 years ago
dogvane
0cc25fbc35
Add a function(get_classification_statistics) to count the number of label categories for the image_dataset_from_directory method.
2 years ago
“Wanglongzhi2001”
b27ccca84f
fix:fix the bug of load LSTM model
2 years ago
Haiping Chen
70f873ecce
Initially adding KerasTensor. #1142
2 years ago
Haiping Chen
b2fe5ca080
Fix LSTM crash in release mode.
2 years ago
dogvane
7165304ff8
add a fucntion to cover a folder to a image classes dataset.
2 years ago
dogvane
fa213eb54c
change "bool training" => "bool? training"
the bool to tensor has a bug, if in init the training is False, the program not start.
2 years ago
Haiping
a95005fe5b
Merge pull request #1137 from Beacontownfc/mybranch2
fix: Fix the problem where the model.save_weights() can't save multi-layer weight
2 years ago
Beacontownfc
992bf55dab
fix load_weights
2 years ago
Haiping Chen
42e8b046ea
Release v0.110.1.
2 years ago