novikov-alexander
2a5d0f796d
Merge branch 'SciSharp:master' into alnovi/optimizer_tests
2 years ago
Alexander Novikov
2a377e2f91
tests are passing
2 years ago
Rinne
ee004c0197
Merge pull request #1212 from Wanglongzhi2001/fix_validation_data_pack
fix: fix the validation_pack when multiple input
2 years ago
Alexander Novikov
c32d153e9b
Merge branch 'master' of https://github.com/SciSharp/TensorFlow.NET into alnovi/optimizer_tests
2 years ago
Wanglongzhi2001
47e9019a18
refactor: fix a typo
2 years ago
Wanglongzhi2001
d453fb6611
refactor: declare some field of ValidationPack as internal
2 years ago
Wanglongzhi2001
53bd70bed3
fix: fix the validation_pack when multiple input
2 years ago
Haiping Chen
94c0bb8796
Release v0.150.0 based on tensorflowv v2.15.0.
2 years ago
Wanglongzhi2001
8c06bbb016
fix: fix the bug caused by concat_v2
2 years ago
Wanglongzhi2001
4e42d7f3a8
fix: fix the bug of boolean_mask
2 years ago
Haiping
079b9a334b
Merge pull request #1202 from Wanglongzhi2001/master
fix: add the implementation of the tile's and GatherND's grad and add OptionalArgs
2 years ago
Wanglongzhi2001
d0ec6591a0
fix: add the implementation of GatherND's grad
2 years ago
Wanglongzhi2001
3fcc4d8d15
fix: add the GRU, LSTM, SimpleRNN's OptionalArgs
2 years ago
Wanglongzhi2001
a73694ab2d
fix: add the implementation of the tile's grad
2 years ago
SMURF
eb4ff88d39
fix: Saving a loaded model
2 years ago
dogvane
ec4f372a29
add relu6
2 years ago
Jucko13
9f0ffa4bc8
Implemented unittests for Concatenate layers and calls
The loading and saving of a simple model with a Concatenate layer is tested to check if the model is the same after reloading.
Implemented missing axis parameter for np.stack (added some handy tuple calls too like the np.concatenate example).
2 years 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
Beacontownfc
02bfb9af17
improve raggedtensor
2 years ago
Alexander Novikov
21210795d0
gradient descent tests
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
Wanglongzhi2001
9552d4cb7a
feat: add np.less and np.greater binding
2 years ago
Haiping Chen
725ec1e55f
Optimize imdb.load_data
2 years ago
lingbai-kong
56e389154c
improve unpickler speed with BufferedStream
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
f5eb4ff0a0
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
“Wanglongzhi2001”
005476cbcd
fix: add the gradient of the tf.gradient opr
2 years ago
“Wanglongzhi2001”
b0ce73caff
feat: add adjust_contrast, adjust_hue, combined_non_max_suppression, crop_and_resize image oprs
2 years ago
Haiping
a5fdaf4fca
Merge pull request #1155 from Wanglongzhi2001/master
fix: revise np.amin, np.amax and add np.argmin
2 years ago