Comments (3)
Thank you for your interest in this work!
If you run the main.py code, the heatmaps are not saved. They are directly evaluated on the fly (in memory). This happens at
Line 71 in 0c476cd
If you wish to save the heatmaps, save the cam_normalized
array in
Line 82 in 0c476cd
from wsolevaluation.
Thank you for your help.
However when I run the evaluation code as
python evaluation.py --scoremap_root=train_log/CUB_vgg16_CAM/scoremaps/val/ --metadata_root=metadata/CUB/val/ --mask_root=dataset/ --dataset_name=CUB --split=val --cam_curve_interval=0.01 , I get the following error :
FileNotFoundError: [Errno 2] No such file or directory: 'train_log/CUB_vgg16_CAM/scoremaps/val/001.Black_footed_Albatross/30107316117.jpg.npy'
So does that mean scoremaps need to be saved before running this script ?
from wsolevaluation.
Yes. The standalone evaluation code assumes saved scoremaps. The train+eval code does not save the scoremaps by default and evaluates them in memory.
from wsolevaluation.
Related Issues (20)
- ImagenetV2 has a lot of incorrect Bbox annotation information? HOT 4
- logic problem HOT 3
- Data split for FSL HOT 2
- About ImageNetV2 file name HOT 7
- About FSL baseline HOT 2
- Dataset Structure HOT 2
- Cropping and Resizing HOT 2
- optimal oracle value HOT 1
- Interpretation of the result HOT 3
- FSL baseline HOT 1
- openimages pxap perf changed between maxboxacc and maxboxaccv2. why? HOT 2
- Top-1 localization HOT 1
- Inconsistent annotations between metadata and source data in CUB test? HOT 1
- slow cv2.findContours HOT 3
- Sequence of normalization and resize of CAM? HOT 1
- The results in the table are inconsistent with the paper
- Results of OpenImage30K
- Pretrained Models
- Inception v3 different than Pytorch implementation
- consult training hyperparameters HOT 4
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 wsolevaluation.