mnist's deep feature visualizations is nothing - deep-learning

when I used yosinski/deep-visualization-toolbox to visualize the conv feature of mnist, I found that the deconv feature is nothing, the left-bottom of the picture
but the visualization of imagenet is what I want to see
so I am wondering what the problem is? the toolbox's visualization problem or the special thing of mnist's feature?

I use darkon to visualize, it looks good
top is heatmap, bottom is feature map
when feed a noise image, the net get a wrong label '5', we can see that the heatmap and feature map get a wrong location:

Related

Openlayers GIS - Georeferenced DEM(GeoTIFF) not positioned correctly in Map (OpenStreetMap)

With Openlayers, I'm visualizing GIS rasters(DEM, Orthomosaic) in GeoTIFF format(using WebGLTileLayer) on top of OSM(as WebGLTile layer) in OL Map.
The issue I'm having is, the GIS rasters which have georeferencing, are not positioned in its correct geographic position on the OSM base map. The DEM seems to appear in nowhere, around gulf areas or on top of water bodies.
I've created OSM layer with it's default projection & I'm setting view after raster source is loaded, using source.getView()
I referred to Raster reprojection examples in the Openlayers website, but wasnt able to solve this.
Does anyone have an idea on how to resolve this?
As Mike had suggested in the comments, this issue was happening since even though the projection name was identified from the raster - Eg: "EPSG:3237", the Openlayers library doesnt have the projection definition(what it actually means), so now I'm fetching proj definition from epsg.io & registering in proj4 defs. Now it works perfectly!
Thanks Mike.

geoserver preview error when output format is openlayers and png

After I imported shapefiles into geoserver following a tutorial and tried to preview, I find the output image is not right while there is no errors in logs when i choose openlayers or png, jpeg, gif. The image is like a map stained by ink.
However, when I output the layer as PDF, the image is normal ....
All the configurations are default except SRS.
The url is
http://localhost:7070/geoserver/mygis/wms?service=WMS&version=1.1.0&request=GetMap&layers=mygis:roads&styles=&bbox=1.2878111774224255E7,4781149.089993679,1.3037623853023177E7,4928041.91732644&width=768&height=707&srs=EPSG:4326&format=application/openlayers
And the tiled layer of my imported shapefiles is blank.
Is there any way to solve this ?
Thanks in advance !!
With out seeing the map and some more information about the shapefile it is hard to give a definitive answer but looking at the URL you provide the problem seems to be that you have specified the SRS (projection) as EPSG:4326 which is lat/lon degrees while your bounding box appears to be measured in meters which means that all your data will be clustered in the very centre of the map if it really is in degrees or distorted due to the mismatch in projections if it is projected.
As a first guess I would change the SRS parameter to epsg:3875 (web mercator) and see if it looks better.

Why are my line colors not showing in my KML file on Google Maps?

I have a KML file from an architect who says he colorized the lines (white, blue, red) and I see the codes in the file itself so I know they are there. The proper colors do display in Google Earth, but NOT in google maps http://lonesomevalley.com/site-map-mapbox/ that I added as a KML layer into MapBox. They also don't display when I bring into the Geojson.io tool so something must be wrong. I see that color is supported by google maps so wondering why it isn't working. Please help! Thanks in advance! My code can be downloaded here: http://evolv.com/lonesome.kml
If I understand the question right, it was the same problem like I had for quit a while. Then someone gave me this quit simple solution.
The colorcodes in kml are in BGR format, while most other formats are the usual RGB format.
The conversion is quit simple: RGB 'ff12dd' will be in BGR 'dd12ff' (R and B just change) but in kml there must always be 'FF' in front, so it will be 'FFdd12ff'
I can't tell you if it's the same issue on your mapbox-implementation(mapbox isn't google maps)
The colors also will not be applied in a google.maps.KmlLayer
The issue seems to be that you've placed the <Style/>'s in <Folder/>'s
When you validate the KML ( http://www.kmlvalidator.com/home ) you'll see that the styles may not be found(and more errors) .
Possible solution( at least related to google-maps): Place the Styles outside of the Folders, as direct childs of <Document/>
Okay after much trial and error working within the KML file, I finally consulted an expert who gave me a simple answer that worked! He said the easiest way to go about changing line colors and weight is through MapBox Editor itself. All you have to do is click on the Data tab, then the 3 horizontal lines button ("hamburger menu drawer icon") to bring up the features. Then you can delete any feature you want from there or click on the feature to change its stroke color and weight. So EASY!!! Just be sure to hit save when done. And there is no Undo if you trash something by mistake so make sure to Save every once in a while and just back out of the project without saving in order to get back something you deleted by mistake.
So all in all I believe that KML files don't bring in the colors of lines correctly to MapBox and therefore need to be corrected through the editor itself.

Custom marker types in SSRS maps

I'm trying to integrate my own markers as pointers on my map. The defaults of circle, rectangle diamond etc... are not what I need and I'm looking for arrow symbols instead. Ideally the popular Microsoft wingdings arrows. I'm surprised simple arrows are not on the default list, I'd thought there would be many a need to indicate a rise or fall with any numeric data on a map.
I would like to solve this with an expression to force an arrow icon as a marker, can this be done by using it's character code etc..? I'm using SSDT to design the report.
Alternatively I'll just have to do this in paint and upload via the image import.
Food For Thought
I see they've done a great job in making the map process easy to set up, but when it comes to customisation from the norm it is extremely difficult.
TechNet: Understanding Marker type Rules:
http://technet.microsoft.com/en-us/library/ee240825.aspx
As you can see from the link (Which is one example as not to swarm this post with links) Microsoft make no mention of image upload or Expression input for maps. This I find is one example, the maps are great, but I feel it's difficult to get documented resources to further customise my report.
You'll need to use an image of an arrow for your custom marker, and you will still be able to change other attributes of it (size, transparency, etc).
If you use a custom image marker, you may run into problems where Visual Studio fails to render the map in design mode from time to time - it's incredibly annoying, so I find it best to drop in the custom images as the very last thing I do when building a map (just use a circle marker or something in the interim).

IE and Chrome, does not print Google map base layer. FireFox does

I am using GeoServer for extracting polygons from shapefile then I use them with OpenLayers JS API and project them on Google maps base layer. All set, everything works fine.
I display 2 WMS layers over Google maps base layer, they looks fine in print preview in all browsers but when I print them
FireFox: Got correct print, all the layers printed correctly.
IE/Chrome: only last layer added to map is printed if its not gmap layer.
map.addLayers([gmap, wms1, wms2, vectors]);
here the polygon from wms2 is printed, if I switch them then wms1 is printed and google layer is never printed (even if I put that in last).
Please suggest if you know any workaround or any problem in the way I am doing it. I have already checked advanced option in IE to print image and background but no effect.
Thank you.
Anybody?
Solved.
The problem was with 'opacity': 0.80 parameter while getting polygon from both WMS layers.Although I don't know it for sure but it's the problem with printing Opaque images in IE/Chrome.
In case anybody face the same problem, don't use opacity.