Commit c4d9dfbc7b3b1b94b5779cb77324f48ac2e0e15b
1 parent
caa661c9
Set trainable in Stream::init
Showing
1 changed file
with
1 additions
and
0 deletions
openbr/plugins/stream.cpp
| @@ -1300,6 +1300,7 @@ public: | @@ -1300,6 +1300,7 @@ public: | ||
| 1300 | { | 1300 | { |
| 1301 | if (!transform) | 1301 | if (!transform) |
| 1302 | return; | 1302 | return; |
| 1303 | + trainable = transform->trainable; | ||
| 1303 | 1304 | ||
| 1304 | basis.setParent(this->parent()); | 1305 | basis.setParent(this->parent()); |
| 1305 | basis.transforms.clear(); | 1306 | basis.transforms.clear(); |