I am new to IPU and I am running the tutorials from the graphcore.
When I run the second step to compile the program, I got the error.
Is anyone experienced with the IPU and graphcore know how to solve it?
I think there is a small bug in SDK2.6. If you edit line 48 of adder_cpu.cpp as follows:
eng.readTensor("output", gccs::ArrayRef<float>(results));
then it should work.
The ipu version should compile already using:
make adder_ipu
Related
Here I want to use FinRL for crypto trading, while testing the FinRL's Crypto trading tutorial, bunch of error emerging. The environment I use is google colab, first problem is that the DRLAgent importing, finally I found the problem is version mismatch, so I keep testing, after days and nights, adjusting so many version, I face a error can't be solved. When the tutorial comes to training part
train(start_date=TRAIN_START_DATE,
end_date=TRAIN_END_DATE,
ticker_list=TICKER_LIST,
data_source='binance',
time_interval='5m',
technical_indicator_list=INDICATORS,
drl_lib='elegantrl',
env=env,
model_name='ppo',
current_working_dir='./test_ppo',
erl_params=ERL_PARAMS,
break_step=5e4,
if_vix=False
)
it indicate the line of if_vix error, assert error, so I try to modify the git clone version, but I can't adjust some of the package's version, so I gave up and asking for help
here is the colab I use: https://colab.research.google.com/drive/1Ro63lSqsH4IaLkVrHOH7XcNRM5tnY_Z-
sorry for my poor english and thanks for helping!!
package altering but
!pip install git+
can't change version
and the package inside the git also not anchored
also facing assert error, bunch of capability problem
Let me start by saying I realize this isn't specifically an issue with ngx-bootstrap and definitely goes above and beyond the call if anyone ends up being nice enough to help me out, but here's the situation:
A few years ago, we created our own internal fork of ngx-bootstrap that we could modify to fit our needs. It has been generally amazing and the initial work of the ngx-boostrap team is very appreciated. The issue now is in upgrading the dependency to Angular 12, the demo code breaks due to issues with raw-loader...
Module not found: Error: Can't resolve 'raw-loader
Here is an example of the code that causes the error:
code: require('!!raw-loader!./demos/disable-transition/accordion-disable-transition.component.ts').default
I have found documentation stating the raw-loader isn't compatible with angular-cli 12.2 and greater, but I see you guys have it working above that version. I have been looking through your code, trying to reverse engineer what you did, but can't figure it out. Doesn't anyone have any hints for me?
Thanks a million in advance.
Could somebody please explain what cob32api does?
I have the task of migrating a batch cobol system from 32 bit Windows to 64 bit Linux. A large number of programs call 'cob32api' which belongs to Net Express. The Linux equivalent to Net Express is Server Express, but I'm not at all clear on what this particular call actually does. There don't appear to be any parameters required. Sadly, there are also no comments explaining what it's for.
Naturally I get an error when I try to build:
Load error : file 'cob32api'
error code: 173, pc=0, call=1, seg=0 173
Called program file not found in drive/directory
Can anybody help me out here?
Thanks in advance.
OK, I tracked down a colleague who has worked on this stuff and knew what it meant. The call to cob32api is required so that the cobol program in question, as well as any sub-modules, can call Windows APIs. This explains why the corresponding library (cob32api.dll) has no Linux equivalent.
The simple solution to my problem: Remove the call altogether.
I hope this helps anybody who runs into a similar problem.
Thanks for the comments.
Additional information:
The removal of the "cob32api" call had consequences for the sub-modules I mentioned. Ther were a number of calls of the form
CALL WINAPI "windows-function-name" ...
These resulted in later compile errors and therefore needed to be replaced.
I keep getting make: * [internal-package] Error 2 when trying to build a tweak im working on. Ive never had this issue before, and its not specifying whats wrong. Here is what it says:
Ethans-Mac-mini:alienblue ethanarbuckle$ sudo make package
/Users/ethanarbuckle/Desktop/alienblue/theos/makefiles/targets/Darwin/iphone.mk:46: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak AlienBlue...
make[2]: Nothing to be done for `internal-library-compile'.
Making stage for tweak AlienBlue...
dpkg-deb: building package `com.ethanarbuckle.alienblue++' in `./com.ethanarbuckle.alienblue++_0.0.1-9_iphoneos-arm.deb'.
make: *** [internal-package] Error 2
Can anyone shed some light on whats happening?
There is nothing wrong with your code.
This is because dpkg won't build a package that has a identifier that isn't alphanumeric (e.g. only A-Z, a-z, 0-9) so it is rejecting the "++" in your package id. I suggest make a new tweak in the NIC and copy your "Tweak.xm" to the new tweak folder and give it an id something like com.ethanarbuckle.alienblueplusplus instead of com.ethanarbuckle.alienblue++.
I had the same error and it took me about a month to figure it out. This change worked for me. Don't forget when you make a new tweak in the NIC to re-add any frameworks you had imported.
Your package name, however, can still have the ++ in it.
I was trying to run the codes i have got from codeproject http://www.codeproject.com/Articles/239849/Multiple-face-detection-and-recognition-in-real-ti .The code build fine but during runtime that it is throwing Emgu.CV.CvInvoke Error. And the code stops at the point where i initialize HaarCascade classifier.I did all configurations fine according to the tuitorials given here http://fewtutorials.bravesites.com/entries/announcements/-level-0-emgucv-installation-guide-for-64-bit-windows-users and i have tried other sample code including face detection code.They all work fine.
!C:\Users\sizusuzu\Desktop\Capture.PNG!
Can anyone help me?
I believe you problem lies as per the comments in this link http://www.emgu.com/forum/viewtopic.php?f=4&t=2910
I had same problem after compiling and building installer then running installer on different machine. You really need the OpenCV references as per the link...hope that helps