Comments (6)
Hey there.
Have you solved the issue on running with Demo_GUI? I'm having the same trouble as yours and couldn't exactly pinpoint why the error persists.
from anomalydetectioncvpr2018.
Hey there.
Have you solved the issue on running with Demo_GUI? I'm having the same trouble as yours and couldn't exactly pinpoint why the error persists.
Hi.
I didn't solve it.Could you tell me how to fix it if you deal with it?
from anomalydetectioncvpr2018.
Hi.
I didn't solve it.Could you tell me how to fix it if you deal with it?
Well, I've just managed to run the code. So, you just have to re-modify the type of output. The line: cap = cv2.VideoCapture(video_path)
invokes an error because the output of QtGui.QFileDialog.getOpenFileName(...) returns you a tuple.
So all you gotta do is to just add another placeholder, like this:
video_path, _ = QtGui.QFileDialog.getOpenFileName(...)
instead of just video_path = QtGui.QFileDialog.getOpenFileName(...)
.
from anomalydetectioncvpr2018.
Hi.
I didn't solve it.Could you tell me how to fix it if you deal with it?Well, I've just managed to run the code. So, you just have to re-modify the type of output. The line:
cap = cv2.VideoCapture(video_path)
invokes an error because the output of QtGui.QFileDialog.getOpenFileName(...) returns you a tuple.So all you gotta do is to just add another placeholder, like this:
video_path, _ = QtGui.QFileDialog.getOpenFileName(...)
instead of justvideo_path = QtGui.QFileDialog.getOpenFileName(...)
.
Thank you very much. Do you run all the project successfull?
I also met some problem on the Testing_Anomaly_Detector_public.py
It views that something with index.
from anomalydetectioncvpr2018.
Nah. So far the only module that I'm able to execute is the Demo_GUI.
Are you able to run Training_Anomaly_Detector_public.py?
from anomalydetectioncvpr2018.
Nah. So far the only module that I'm able to execute is the Demo_GUI.
Are you able to run Training_Anomaly_Detector_public.py?
I didn't execute anyone. -_-
I also met some problem on Demo_Gui.
Would you met it ever?Could you tell me how to do if you fix it?
Like this:
/home/victor/PycharmProjects/AnomalyDetectionCVPR2018/SampleVideos/Explosion025_x264.txt
<module 'cv2' from '/home/victor/anaconda3/envs/AnomalyDetectionCVPR2018/lib/python3.5/site-packages/cv2.cpython-35m-x86_64-linux-gnu.so'>
Unable to stop the stream: Inappropriate ioctl for device
Traceback (most recent call last):
File "/home/victor/PycharmProjects/AnomalyDetectionCVPR2018/Demo_GUI.py", line 184, in SingleBrowse
F_Score = np.matlib.repmat(predictions[iv],1,(int(total_segments[iv+1])-int(total_segments[iv])))
AttributeError: module 'numpy' has no attribute 'matlib'
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.