How to load trained zoo Models using dllib?

37 views
Skip to first unread message

clar...@gmail.com

unread,
Nov 8, 2022, 11:11:19 PM11/8/22
to User Group for BigDL
In Zoo 0.11.0, the way to load a trained model (.bigdl and .bin files) is to use

Net.load(...)

What is the equivalent way to load such model in bigdl 2.1.0 using dllib?

Thanks!

Clare

Emiliano Martinez Sanchez

unread,
Nov 9, 2022, 4:49:45 AM11/9/22
to clar...@gmail.com, User Group for BigDL
In Scala is similar:

import com.intel.analytics.bigdl.dllib.keras.Net


Net.load[Float](localPathModel.toString, localPathWeights.toString)


You can include more questions with code in stackoverflow including bigdl and spark tags, there is a great spark community in there.


--
You received this message because you are subscribed to the Google Groups "User Group for BigDL" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigdl-user-gro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigdl-user-group/e9ec0e78-8a8f-4c54-b998-73158102e087n%40googlegroups.com.

guoqiongsong

unread,
Nov 9, 2022, 7:59:20 PM11/9/22
to User Group for BigDL
Please share more information about how you saved the model
Reply all
Reply to author
Forward
0 new messages