jiweiqi / CellBox.jl

CellBox in Julia
MIT License
4 stars 1 forks source link

Add early stopping #5

Closed DesmondYuan closed 3 years ago

DesmondYuan commented 3 years ago

As used in the original CellBox tensorflow codes

jiweiqi commented 3 years ago

I have tried to spilt the code into several separate files. If you like, you can put this part into the file callback.jl at https://github.com/jiweiqi/CellBox.jl/blob/aa1d808145008655834a152440088861e9873b46/spilt/callback.jl#L56

DesmondYuan commented 3 years ago

Thanks @jiweiqi! Now fully implemented at commit 81d3577382cc9e115d23050234ebc335b6fd54c9

the major function is https://github.com/jiweiqi/CellBox.jl/blob/c99a16d1092bdf0783906c703eaac79b1cd5a213/spilt/callback.jl#L62-L77

jiweiqi commented 3 years ago

Fixed the issue in rm folders when it doesn't exist at https://github.com/jiweiqi/CellBox.jl/blob/4b77faf13bf6ec738fd37f9bf7ddaa3ea61ec9ac/spilt/header.jl#L30