Comments (4)
No, it is not a bug. Please check out the code again
from anomalydetectioncvpr2018.
Hello,
seems like you have a bug in line 267 in TrainingAnomalyDetector_public.py
Hello there,
I've executed the TrainingAnomalyDetector_public.py, and it raised a TypeError as shown below:
File "D:\Anaconda3\envs\tf\lib\site-packages\tensorflow\python\framework\ops.py", line 671, in bool
raise TypeError("Using atf.Tensor
as a Pythonbool
is not allowed. "TypeError: Using a
tf.Tensor
as a Pythonbool
is not allowed. Useif t is not None:
instead ofif t:
to test if a tensor is defined, and use TensorFlow ops such as tf.cond to execute subgraphs conditioned on the value of a tensor.
Is it because of the keras/theano version? I'm using keras=1.2.2 & theano=1.0.4 by the way. I couldn't exactly pinpoint on why it raised the error.
from anomalydetectioncvpr2018.
You are right! sorry about that :)
from anomalydetectioncvpr2018.
Please, can you explain why it is not a bug? Formulation in the code differs from the formulation given in the paper
from anomalydetectioncvpr2018.
Related Issues (20)
- Error while compile model in TrainingAnomalyDetector_public.py HOT 1
- Evaluate_Anomaly_Detector on python HOT 1
- How does it show accuracy?
- TypeError: __init__() missing 1 required positional argument: 'units' when run Test_Anomaly_Detector_public.py HOT 5
- link is broken in readme HOT 1
- Test_Anomaly_Detector_public.py written in Python 2 HOT 3
- Test_Anomaly_Detector_public.py error due to tensorflow version HOT 1
- colab
- Pytorch Version (including I3D features) HOT 2
- Which tensorflow version should I install?
- Error when running DEMO_GUI.py
- How will the performance change if we change the number of training samples?
- Issue regarding conversion of model.json file to model.pb file HOT 4
- any proposal with tensor RT ??
- TypeError: ('Keyword argument not understood:', 'W_constraint') HOT 4
- Make annotation file.
- Real-time Application HOT 2
- AttributeError: 'Tensor' object has no attribute 'broadcastable'
- What is the license for this project?
- TypeError: ('Keyword argument not understood:', 'W_constraint')
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 anomalydetectioncvpr2018.