Comments (3)
Yes, I've reviewed APICaffe in LArCV and your caffe branch which loads via the thread factory. I don't know your exact configuration for SimpleFiller (maybe you can point me to it) but I assume I can let pycaffe create a ROOTLayer then access the instantiated SimpleFiller and call fill_entry_data bypassing the need for a ROOT file on disk.
from larcv.
Given ROOT data layer caffe config looking like this:
layer {
name: "data"
type: "ROOTData"
top: "data"
top: "label"
root_data_param {
batch_size: 1
filler_config: "ana_filler.cfg"
filler_name: "Analysis"
}
}
... to process 1 event at a time, here's how filler config looks like
Analysis: {
Verbosity: 2
EnableFilter: false
RandomAccess: false
InputFiles: ["/stage/drinkingkazu/production/v03/hires_crop/data_extbnb/part01/hiresdiv_extbnb_0000_0009.root","/stage/drinkingkazu/production/v03/hires_crop/data_extbnb/part01/hiresdiv_extbnb_0010_0019.root","/stage/drinkingkazu/production/v03/hires_crop/data_extbnb/part01/hiresdiv_extbnb_0020_0039.root","/stage/drinkingkazu/production/v03/hires_crop/data_extbnb/part01/hiresdiv_extbnb_0040_0059.root","/stage/drinkingkazu/production/v03/hires_crop/data_extbnb/part01/hiresdiv_extbnb_0060_0079.root","/stage/drinkingkazu/production/v03/hires_crop/data_extbnb/part01/hiresdiv_extbnb_0080_0099.root","/stage/drinkingkazu/production/v03/hires_crop/data_extbnb/part01/hiresdiv_extbnb_0100_0119.root","/stage/drinkingkazu/production/v03/hires_crop/data_extbnb/part01/hiresdiv_extbnb_0140_0159.root","/stage/drinkingkazu/production/v03/hires_crop/data_extbnb/part01/hiresdiv_extbnb_0160_0180.root"]
ProcessType: ["SimpleFiller"]
ProcessName: ["SimpleFiller"]
ProcessList: {
SimpleFiller: {
# DatumFillerBase configuration
MeanADC: [0,0,0]
MeanImageFile: "/stage/drinkingkazu/production/v03/hires_crop/data_extbnb/mean_part01.root"
MeanImageProducer: "mean"
InputProducer: "tpc_hires_crop"
ROIProducer: "tpc_hires_crop"
# SimpleFiller configuration
Channels: []
MaxADC: [200,200,200]
MinADC: [17,13,20]
GausSmearingMean: 1.0
GausSmearingSigma: 0.1
PixelWiseSmearing: true
}
}
}
from larcv.
I think this is a legacy feature so I would close. But please re-open if needed!
from larcv.
Related Issues (20)
- larcv python script crashes when larlite is configured HOT 8
- LArbys/caffe UseThread: false doesn't fill HOT 2
- Can't Open RGB Viewer HOT 1
- PyROOT issue in viewer (and proposed fix) HOT 7
- enhanced hoverrect
- segmentation image not showing up in v05 production! HOT 2
- minor: app objects rebuild when typing make, even if nothing changes HOT 2
- production tools HOT 2
- Segmentation Relabeling HOT 2
- New modules HOT 1
- Supera failure HOT 3
- [LArbys/cafef] IO optimization HOT 1
- develop branch missing DataFormat/ParticleMass.h HOT 4
- error: no class named 'CircularBufferBase' in namespace 'larcv' HOT 2
- compiler error with DBSCAN code when using GCC 4 HOT 6
- UBWireTool.cxx not build HOT 2
- [CRITICAL] <MultiROICropper::process> MultiROICropper.cxx::L50 EventImage2D size 0 <= target channel 0 HOT 6
- error running vertex code. giving <VertexAna::process> Cannot find nearest wire for (-1,-1,-1) HOT 4
- Running vertex container gives me this error HOT 2
- Lot's of warning from signed versus unsigned integer comparisons HOT 2
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 larcv.