Alexander Pivovarov
Alexander Pivovarov
@Neargye I need to execute `TF_SessionRun` in loop on GPU. I noticed that each time I call `TF_SessionRun` it creates (allocates) new OutputTensor. As a result the program leaks GPU...
@Neargye example of my code https://github.com/apivovarov/TF_C_API/blob/master/mobilenet.c To stop GPU memory leak I need to uncomment [line 62](https://github.com/apivovarov/TF_C_API/blob/master/mobilenet.c#L62). Below are the program output With and Without `TF_DeleteTensor(output_tensor)` in loop. ``` #...
I tried that - this Tensor is replaced with new one on the first run. I also found that GPU memory leak issue can be reproduces only on models with...
I created basic TF image classification model as described [in the tutorial](https://www.tensorflow.org/tutorials/keras/classification) (using tensorflow==2.5.0) I saved the model. There is `saved_model.pb` file Inside the saved model directory (which should contain...
To visualize saved model "mymodel" with tensorboard ``` import tensorflow as tf model=tf.saved_model.load("mymodel") sig=model.signatures["serving_default"] logdir="log" writer = tf.summary.create_file_writer(logdir) with writer.as_default(): tf.summary.graph(sig.graph) ``` Looks a bit ugly , but at least...
The situation improved in TF 2.5.0. Now `model.save("model_dir")` creates one additional file in the model folder - `keras_metadata.pb`. The difference btw prev versions is that now we can load the...
The PLCT Lab 2021 plan includes: - Try to introduce the RV64G porting of LuaJIT and cultivate two new LV3+ interns. https://plctlab.github.io/PLCT-Roadmap-2021.html
I got `NonMaxSuppressionV5` not implemented when converting TF2 [SSD MobileNet v2 320x320](https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2_detection_zoo.md) using coremltools 5.2 and 6.0b2 Example1 (convert saved_model dir): ``` import coremltools as ct image_input = ct.ImageType(shape=(1, 320,...
@lee-bin, Thank you for your reply! I just tried the latest Xiaomi image for Mi 9 (cepheus) phone `cepheus_global_images_V11.0.3.0.QFAMIXM_20191115.0000.00_10.0_global` Test program `001-nop.c` just hangs now. Other examples such as `calculator`,...
@DavinFun I did all the changes in SDK code as you mentioned above. But `examples/hexagon_nn/tutorials/001-nop.c` still hangs on Xiaomi Mi9