abba's People
abba's Issues
run '‘bash tune_gaussian_blur.sh'
Hello, when i run bash tune_gaussian_blur.sh in ./experiments, i have met a error below. At first I thought it was a version problem, but I have seen almost all versions of torchvision's API, and I haven't found two classes, datasets.Dev and datasets.Real. Does anyone know the solution?
Traceback (most recent call last):
File "./blurattack.py", line 1196, in
main(sys.argv)
File "./blurattack.py", line 1165, in main
eplison, blur_strategy, step_size,numSP=numSP,mask_att_l1=mask_att_l1,direction=direction,deblurred = deblurred,gpuid=gpu_id)
File "./blurattack.py", line 312, in test_dev
datasets.Dev(valdir, target_file='dev_dataset.csv', transform = transforms.Compose([transforms.ToTensor()])),
AttributeError: module 'torchvision.datasets' has no attribute 'Dev'
possible BUG about the noralization of PoolNet
Thank you for sharing!
I like your work and im trying to understand some details.
I notice that you directly copy and paste the normalization parameters np.array((104.00699, 116.66877, 122.67892))
from PoolNet/dataset to your flow_estimate_saliency
function.
However, the dataset of PoolNet is read by cv2.imread()
, which the channel order is BGR. It seems doesn't match your RGB data?
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.