Comments (6)
from driver_attention_prediction.
Thanks for the quickly answer!
Unluckily I cannot share the videos for privacy reason, I'll try to find a way in next days if there'll always be need. I hope you understand.
Firstly, the first error message which I receive is the following:
"Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning."
This happens at the last line of infer.py
Thus I tried to modify the code through the following line:
"gazemap = gazemap.astype(np.uint8)" and then save the image.
What I obtain is a black image.
The extraction of the frames from the video it seems good. I tried with different videos with no differences.
The format is .mp4 (originally was .MOV), but no luck.
from driver_attention_prediction.
Dear Pascalxia @pascalxia ,
I follow the exact instructions written by you in this repo ,but my results turn out to be all black instead of visualization result in your figure(like barloccia's results). Would you mind helping me out ? or maybe reply will it be some other issue in image writing methods. I use imageio instead of scipy(deprecated already), but others remains with the original repo. Many thanks
from driver_attention_prediction.
Hi Pascalxia,
Really appreciate your work
Same issue with me as @Anguliachao and @barloccia
I have implement your work, followed all the steps mentioned. Everything went good but when run test on my data, I get black images in output.
@pascalxia If you can guide?
from driver_attention_prediction.
Solved..
from driver_attention_prediction.
@fahad-lateef glad to hear that you solved. I've been struggling with addressing that whole black issue. Could you share a method on how you solve please?
from driver_attention_prediction.
Related Issues (8)
- 'Application' Directory in \Data directory.
- UnboundLocalError: local variable 'ckpt_path' referenced before assignment HOT 1
- about visualization_prediction.py HOT 1
- Skipped frames on some videos
- Inference fails when using finetuned models
- Question regarding testing docs
- Different frame rates between the camera videos (30fps) and gazemap videos (29fps) in BDD-Attention datasets
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 driver_attention_prediction.