Comments (4)
Apparently the loss variable is being accessed in code before it's getting initialised
from learnopencv.
from learnopencv.
Please do correct me if im wrong ... i may end up confusing you then providing a solution
Presuming you are using this code -- VAE_Cartoon_TensorFlow.ipynb
Where are you getting this bit of code ...probably from a TEMP FILE of KERAS or TF.Autograph origin thats letting us know that the Notebook cells you have run have missed a continuous Kernel run ...
So while it needs that variable value -- kl_loss , its not getting that within the -- Autograph Code -- https://www.tensorflow.org/api_docs/python/tf/autograph
File ~\AppData\Local\Temp\__autograph_generated_filem_niztwx.py:11, in outer_factory.<locals>.inner_factory.<locals>.tf__vae_loss(y_true, y_pred, mean, var) 9 retval_ = ag__.UndefinedReturnValue() 10 r_loss = ag__.converted_call(ag__.ld(mse_loss), (ag__.ld(y_true), ag__.ld(y_pred)), None, fscope) ---> 11 kl_loss = ag__.converted_call(ag__.ld(kl_loss), (ag__.ld(mean), ag__.ld(log_var)), None, fscope)
from learnopencv.
from learnopencv.
Related Issues (20)
- Automatic-Document-Scanner - not working HOT 2
- Is the more code for article "What is Face Detection? Ultimate Guide 2023 + Model Comparison"? HOT 1
- How to use OpenCV DNN Module on Windows with c++ HOT 3
- opencv_face_detector_uint8.pb missing HOT 5
- pkg-config: No such file or directory
- How to effectively judge image clarity by opencv ? HOT 1
- Reshape issue while running net.forward() HOT 3
- opencv4 doesn't have TrackerBoost::create() function not found as well as for TLD and MEDIANFLOW HOT 2
- ## DCGAN
- Face morphing
- How to Normalize Object Segmentation Dataset? HOT 1
- OpenCV
- Build was not completed correctly.
- When I give make -j12 its not build completely :OpenCv-CUDA-Module
- Cannot run "Human-Action-Recognition-Using-Detectron2-And-Lstm"
- The VideoStabilization demo contains an access violation
- Contour-Detection-using-OpenCV/cpp/contour_approximations/contour_approx.cpp 65行代码是不是写错了 HOT 2
- Potential performance issue in Face-Recognition-with-ArcFace: plotting slow in matplotlib == 3.3.0
- Error how can i resolve it HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learnopencv.