pixiv / chatvrm Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Open AIのAPIキーを入力しましたが、会話の返答が返ってきません。
A glitch occurs when playing an animation file downloaded from Mixamo.
The animation plays smoothly without any glitch.
Glitches occur in some cases.
The glitch does not occur when I modify the code as follows (VRMAnimation.ts):
- const track = new THREE.VectorKeyframeTrack(
- `${nodeName}.quaternion`,
- origTrack.times,
- origTrack.values.map((v, i) =>
- metaVersion === "0" && i % 2 === 0 ? -v : v
- )
- );
+ const newValues: number[] = [];
+ const metaVersionZero = metaVersion === "0";
+ let sign = metaVersionZero ? -1 : 1;
+ let opposite = metaVersionZero ? 1 : 1;
+ let prevQuaternion = new THREE.Quaternion();
+
+ if (origTrack.values.length % 4 !== 0) {
+ throw new Error("Invalid origTrack values length");
+ }
+
+ for (let i = 0; i < origTrack.values.length; i += 4) {
+ const quaternion = new THREE.Quaternion(
+ origTrack.values[i],
+ origTrack.values[i + 1],
+ origTrack.values[i + 2],
+ origTrack.values[i + 3]
+ );
+ if (prevQuaternion.dot(quaternion) < 0 && metaVersionZero) {
+ sign *= -1;
+ opposite *= -1;
+ }
+ newValues.push(
+ sign * origTrack.values[i],
+ opposite * origTrack.values[i + 1],
+ sign * origTrack.values[i + 2],
+ opposite * origTrack.values[i + 3]
+ );
+ prevQuaternion = quaternion;
+ }
+ const track = origTrack.clone();
+ track.values = new Float32Array(newValues);
+ track.name = `${nodeName}.quaternion`;
Before:
After:
I'm not very familiar with 3D graphics, so I apologize if my corrections are not accurate. Please consider them as references only 😂
thanks for this great job, i would love to have arabic/english version
Hi,
I've been working on a fork of ChatVRM which adds support for more LLM backends (including self hosted) and TTS engines, and vision (through llava/bakllava llama.cpp server).
https://github.com/semperai/amica
Just wanted to share here in case people are looking for more active fork.
Thanks for the great repo!
I saw there's the same issue which was closed while ago. But it seems it still not returning any response. I have like 30 USD balance in my openai account and I am actively invoking various gpt models like gpt4-0125-preview.
Maybe it's due to deprecated model such as gpt3-turbo 0630 something like that, I had the same issue with my own program while ago and I had to change my gpt3.5 model.
Hope it gets fixed!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.