Skip to main content

Posts

Showing posts from January, 2018

How to control CUDA Devices to be used in Windows 10 for Keras/Theano/TensorFlow training

I've two 1080ti GPUs , I would like to use only one of the device for DeepLearning Training purpose,Most of the google suggestions advising to use CUDA_VISIBLE_DEVICES environment variable.Setting CUDA_VISIBLE_DEVICES either in windows environment variables are as programmatic way dint help much. But below approach helped to control the GPU usage for CUDA operations. Open NVIDIA Control Panel" by right clicking on the desktop screen. And select CUDA-GPUs to the desired gpu you want to use for DL training, In my case: I chose 2nd GPU Peace!!

How to create custom XSL functions using Java code, BPEL - Oracle SOA, XSLT 1.0

This post talks about how to create customized XSL functions with Java code inside BPEL Process(Oracle SOA 11g). Refer below steps to follow the approach. Using this approach there is no need of placing jar file into oracle commons directory as suggested by oracle documentation. With this approach , if any changes made in java source, composite deployment is needed. With the Oracle preferred approach(deploying jar in commons directory),deployment of composite is not needed only if  sourcecode in java class doesn't have any changes its method signature. However,Server restart is must when updated jar being placed in oracle commons directory. Its up-to the necessity and approach as per organizational/architectural standards. Even though its not recommend to use Java classes inside XSL transformations, few specific scenarios XSL can't handle. For example, finding difference in the dates is a difficult approach in XSLT 1.0 ,since it does nt have supporting functions. Below

Cant Login into Oracle BPM Workspace

There might be different types of issues with Oracle SOA/BPM setup in your local/development environment. The below solution might help you in solving the issue with login into OracleBPMWorkspace with weblogic / basic user. Get the hostname from command prompt . Then open the windows explorer and navigate to the bin folder of WLS bpm domain. For ex : C:\Oracle\WLSOAMware11117\user_projects\domains\bpm_domain\bin\ Edit startManagedWebLogic.cmd and replace 127.0.0.1/localhost with the hostname which you got from above command. For example it would be looking as below: Before : http://localhost:7001 or http://127.0.0.1:7001 After : http://<<hostname>>:7001 Login into weblogic console - http://localhost:7001/console. Click on domain under DomainStructure and select 'Control' tab. Then select AdminServer,and change ListenAddress from localhost to <<hostname>> and click on save to save changes. Similarly, change the ListenAddress