Comments (3)
Clone this repository to Pycharm or any other platform.
Install the required library Caffe, Tensorflow.
You need not change anything in repository.
Run driver.py. Try to solve the error or post here.
ALL THE BEST
from anomaly-detection-in-surveillance-videos.
The are some problems with the code indentation in the file Anomaly_NN.py, but I corrected this and when I tried to run the code I received the error below:
Traceback (most recent call last):
File "Driver.py", line 51, in
train_model()
File "Driver.py", line 18, in train_model
train_NN(train_ano,train_norm,test_ano,test_norm,ano_width[125:],norm_width[125:])
File "/home/noleak/Research/Anomaly-Detection-in-Surveillance-Videos/Anomaly_NN.py", line 113, in train_NN
train_neural_network(x)
File "/home/noleak/Research/Anomaly-Detection-in-Surveillance-Videos/Anomaly_NN.py", line 67, in train_neural_network
anomaly_score = sess.run(prediction,feed_dict={x: batch_x})
File "/home/noleak/anaconda3/envs/tfanomaly/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 956, in run
run_metadata_ptr)
File "/home/noleak/anaconda3/envs/tfanomaly/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1149, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "/home/noleak/anaconda3/envs/tfanomaly/lib/python3.7/site-packages/numpy/core/_asarray.py", line 85, in asarray
return array(a, dtype, copy=False, order=order)
TypeError: float() argument must be a string or a number, not 'map'
I tried to run this code with tensorflow-gpu 1.5 python 3.7. Can you help me?
from anomaly-detection-in-surveillance-videos.
The are some problems with the code indentation in the file Anomaly_NN.py, but I corrected this and when I tried to run the code I received the error below:
Traceback (most recent call last):
File "Driver.py", line 51, in
train_model()
File "Driver.py", line 18, in train_model
train_NN(train_ano,train_norm,test_ano,test_norm,ano_width[125:],norm_width[125:])
File "/home/noleak/Research/Anomaly-Detection-in-Surveillance-Videos/Anomaly_NN.py", line 113, in train_NN
train_neural_network(x)
File "/home/noleak/Research/Anomaly-Detection-in-Surveillance-Videos/Anomaly_NN.py", line 67, in train_neural_network
anomaly_score = sess.run(prediction,feed_dict={x: batch_x})
File "/home/noleak/anaconda3/envs/tfanomaly/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 956, in run
run_metadata_ptr)
File "/home/noleak/anaconda3/envs/tfanomaly/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1149, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "/home/noleak/anaconda3/envs/tfanomaly/lib/python3.7/site-packages/numpy/core/_asarray.py", line 85, in asarray
return array(a, dtype, copy=False, order=order)
TypeError: float() argument must be a string or a number, not 'map'I tried to run this code with tensorflow-gpu 1.5 python 3.7. Can you help me?
Hi, Im getting the same error. Did you solved it??
from anomaly-detection-in-surveillance-videos.
Related Issues (20)
- About download datasets HOT 2
- how did you convert video into vectors. I guess the code for that is missing. HOT 1
- The display of `epoch_loss`
- The difference of model between model.ckpt.meta and the code
- The implementation of loss function HOT 1
- Not able to start a tensor flow session HOT 1
- What is the difference between this git and this git : https://github.com/WaqasSultani/AnomalyDetectionCVPR2018?
- Can you tell me some details about the environment of implementation
- How to run this on a live video to test accuracy ?
- How to implement this project? HOT 1
- Dataset
- Error in anomaly_NN.py HOT 1
- How to run the project? HOT 3
- How to implement the project?? HOT 1
- About the result HOT 2
- Hello HOT 1
- Feature Extraction HOT 2
- Extracted Features HOT 1
- input_feature_vector_gen.py issue HOT 5
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 anomaly-detection-in-surveillance-videos.