Temporary overrides content language on campaign collection pages.

What's this PR do?

Temporary overrides content language on campaign collection pages.

How should this be manually tested?

Open http://dev.dosomething.org:8888/volunteer/grandparents-gone-wired-0 as anonymous.
Check out the list of campaigns

What are the relevant tickets?
Fixes #5692.

:+1:

The reason why we just didn't change it here https://github.com/DoSomething/phoenix/blob/8982c7d9c8021b6fdb46ff3a92bd7a40b64712a5/lib/modules/dosomething/dosomething_campaign_group/dosomething_campaign_group.module#L160 is that campaign pics won't show: they are also using dosomething_helpers_get_current_language_content_code() to determine content language.


Fix false incorrect usage error.

Some higher order command such as ahoy cmd-proxy will switch around
arguments in such a way that it can cause an error when not using
AHOY_CMD_PROXY="DOCKER".
This fixes a regression bug introduced in the upgrade.

I also ran gofmt on the code ... looks like HEAD was not following std format.

This seems to be causing another bug.


feat: add tests for build tools script

This PR adds test for build-tools.js script

@anshgoyalevil Sorry, I forgot to add that file! 😅 Yes, there is a need for it. When we test the combineTools function, we will have to pass the path as an argument to test it in a temporary directory to avoid making changes to the actual files. Since we are using that function only in this file, I thought it would be a good idea to make the change in this PR.

@anshgoyalevil updated test

@anshgoyalevil test updated

/rtm


Fix line numbers

Version used

AET 2.1.3 (same issue on 3.1.0)Z

Steps to reproduce

Open any report with accessibility errors (probably the same issue occurs in other kind od tests aswell)
Check line number of any issue
Try to find this line number in page source code (You will not find proper snippet in that line)

Appendix
I noticed that AET starts calculating line nunbers from  section. We always have something above head section and thats the difference.

It looks like the issue still exists (AET 3.2.2).


[FLINK-29337][hive] Fix fail to query non-hive table in Hive dialect

What is the purpose of the change
Backport for  #20855

@wuchong Could you please help merge?


[icu] Build error

Host Environment

OS: Windows 10
Compiler: Visual C++ 2022 x64

To Reproduce
Steps to reproduce the behavior:
./vcpkg install xxxx
Failure logs
mkdir: cannot create directory '/C/Users/xxx/Documents/projectx/external/PreBuildProj/vcpkg/packages/icu_x64-windows/C/Users/xxx/Documents/projectx/external/PreBuildProj': File exists
mkdir: cannot create directory '/C/Users/xxx/Documents/projectx/external/PreBuildProj/vcpkg/packages/icu_x64-windows/C/Users/xxx/Documents/projectx/external/PreBuildProj/vcpkg': File exists
mkdir: cannot create directory '/C/Users/xxx/Documents/projectx/external/PreBuildProj/vcpkg/packages/icu_x64-windows/C/Users/xxx/Documents/projectx/external/PreBuildProj/vcpkg/installed': File exists
mkdir: cannot create directory '/C/Users/xxx/Documents/projectx/external/PreBuildProj/vcpkg/packages/icu_x64-windows/C/Users/xxx/Documents/projectx/external/PreBuildProj/vcpkg/installed/x64-windows': File exists
mkdir: cannot create directory '/C/Users/xxx/Documents/projectx/external/PreBuildProj/vcpkg/packages/icu_x64-windows/C/Users/xxx/Documents/projectx/external/PreBuildProj/vcpkg/installed/x64-windows/debug': File exists
ln: failed to create symbolic link 'current' -> '69.1': File name too long
ln: failed to create symbolic link 'Makefile.inc' -> 'current/Makefile.inc': File name too long
ln: failed to create symbolic link 'pkgdata.inc' -> 'current/pkgdata.inc': File name too long
make: *** [Makefile:197: install-icu] Error 1
make: *** Waiting for unfinished jobs....
ln: failed to create symbolic link 'current' -> '69.1': File name too long
ln: failed to create symbolic link 'Makefile.inc' -> 'current/Makefile.inc': File name too long
ln: failed to create symbolic link 'pkgdata.inc' -> 'current/pkgdata.inc': File name too long
make[1]: *** [Makefile:197: install-icu] Error 1
make: *** [Makefile:153: install-recursive] Error 2

File name too long

Please clone vcpkg in a shorter path such as d:\ and try again.

@jaydenkim, does this still be a problem for you?

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.

File name too long

Please clone vcpkg in a shorter path such as _d:_ and try again.

I am facing the same issue on a ci agent, changing to a shorter path is not possible as it is determined by the ci server. Is there any other way to work around this issue?

@hyt589 ./vcpkg install ... --x-buildtrees-root=<SHORTER_PATH>

@hyt589 ./vcpkg install ... --x-buildtrees-root=<SHORTER_PATH>

Thanks for the quick reply! Our project is set up in manifest mode because we need to pin some dependency versions, and as I understand it running vcpkg install is not possible in this mode.

@hyt589 ./vcpkg install ... --x-buildtrees-root=<SHORTER_PATH>

Thanks for the quick reply! Our project is set up in manifest mode because we need to pin some dependency versions, and as I understand it running vcpkg install is not possible in this mode.

cmake.exe ... -DVCPKG_INSTALL_OPTIONS="--x-buildtrees-root=<SHORTER_PATH>"

@hyt589 ./vcpkg install ... --x-buildtrees-root=<SHORTER_PATH>

Thanks for the quick reply! Our project is set up in manifest mode because we need to pin some dependency versions, and as I understand it running vcpkg install is not possible in this mode.

cmake.exe ... -DVCPKG_INSTALL_OPTIONS="--x-buildtrees-root=<SHORTER_PATH>"

I tried that, and it successfully changed the buildtree root path, but it seems the installation path is still too long. I also tried adding --x-install-root to VCPKG_INSTALL_OPTIONS,  but it seems vcpkg doesn't accept more than 1 options?

I tried that, and it successfully changed the buildtree root path, but it seems the installation path is still too long.

So the best way is unlock the path length limit on Windows using Windows register.

I also tried adding --x-install-root to VCPKG_INSTALL_OPTIONS, but it seems vcpkg doesn't accept more than 1 options?

VCPKG_INSTALL_OPTIONS, so I don't think that this option can't pass multiple options.

So the best way is unlock the path length limit on Windows using Windows register.

I tried the registry with no luck, for some reason it just won't allow long paths.

VCPKG_INSTALL_OPTIONS, so I don't think that this option can't pass multiple options.

The issue was I already defined VCPKG_INSTALLED_DIR in cmake, which caused vcpkg to complain --x-install-root was defined twice. I solved the issue by overriding VCPKG_INSTALL_DIR.
Thanks for your help.

I'm hitting this same issue. Although the symptom is that the path is too long, the root cause of such a long path is that the root path is repeated in the install path for this pacakge.
You can see this in the OP's error log if you look closely at the path mkdir tries to create:
mkdir: cannot create directory '/C/Users/xxx/Documents/projectx/external/PreBuildProj/vcpkg/packages/icu_x64-windows/C/Users/xxx/Documents/projectx/external/PreBuildProj': File exists

The ln calls first cd into this repeated directory and try to link, and that's when it fails. But I don't think the bug is "use a shorter path", I think the bug is "why is the path repeated in the package directory for this package? Other packages do not seem to have this behavior and install to my x-packages-root directory as I'd expect.
Is this intentional behavior?

I'm hitting this same issue. Although the symptom is that the path is too long, the root cause of such a long path is that the root path is repeated in the install path for this package.
You can see this in the OP's error log if you look closely at the path mkdir tries to create:
mkdir: cannot create directory '/C/Users/xxx/Documents/projectx/external/PreBuildProj/vcpkg/packages/icu_x64-windows/C/Users/xxx/Documents/projectx/external/PreBuildProj': File exists

The ln calls first cd into this repeated directory and try to link, and that's when it fails. I think the fix here is to stop this path repetition from happening. Other packages do not seem to have this behavior and install to my x-packages-root directory as I'd expect.
Is this intentional behavior, or is there something I should be doing to prevent this?
Here you can see that in my install directory, the installed icu package includes the entire root path again as a subdirectory. I'd expect this folder to not exist and for the files it contains to just live inside the parent folder.

Does your OS account contain empty space ?

Does your OS account contain empty space ?

No
>whoami
cengler-m16\cengl

The path also doesn't include spaces and isn't using my user folders.

 The x64-windows-static-md-v142 one looks like this:
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)

set(VCPKG_PLATFORM_TOOLSET v142)
set(VCPKG_BUILD_TYPE release)

@Cheney-W Please investigate this.

Please change the issue title to:
[icu] Build error (windows): File name too long


Guide/Demo - Use popular project as base of dagger demo

Create a demo using an existing and familiar project.
Context -

random thoughts about example for the next community call. I'd like to explore the idea of using a current well-known example project that gets built with GHA and deployed to some service (K8s, ECS, etc) and port it to Dagger.
All the examples that we've showcased so far seem to me that are "optimized" for the possibilities that Dagger enables without a clear path on how to go from there.  I have the hypothesis that if we put something out there that highlights how to "incrementally" improve the pipeline of an existing app using Dagger, that could maybe generate more adoption.
I guess the challenge is to find a good example where we can show the benefits of porting that pipeline to code. Ideally it needs to be something with a fair amount of glue scripts and CI specific config

Comment from @marcosnils :

https://github.com/BretFisher/.
He has several repos about Docker, K8s, GHA and GitOps. We could navigate through his content to see if we spot something that it'd be sweet to try in Dagger


⚠ Msite has degraded performance

In 5b46da1, Msite ($MSITE_URL) experienced degraded performance:

HTTP code: 200
Response time: 11107 ms

Resolved: Msite performance has improved in b1c1f04.


Add Sass and Gulp to website stack

Gulp and Sass have been added. At the moment the gulpfile.js has only been configured to handle Sass and Autoprefixer, we may extend the functionality as we go on, depending on our needs. I'm closing this and creating a new issue for Sass.


Pandas 1.0, 1.0.1 MultiIndex setting

There appears to be some deprecated multiindex functionality in pandas (1.0, 1.0.1) which conflicts with the linearmodels package.  Reverting back to pandas version 0.25 restores the functionality of the package.  To recreate:
import numpy as np
import pandas as pd
from linearmodels import PanelOLS
data = {'y':[1,2,3,1,0,3],
'x1': [0,1,2,3,0,2],
'x2':[1,1,3,2,1,0],
't': pd.to_datetime(['2020-02-18', '2020-02-18', '2020-02-17', '2020-02-18', '2020-02-18', '2020-02-17']),
'province': ['A', 'A','A','B','B','B'],
'city': ['a','b','a','a','c','a']}
dataframe = pd.DataFrame (data, columns = ['y','x1', 'x2', 't', 'province', 'city'])
dataframe["city-provence"] = [(c,p) for c,p in zip(dataframe.city, dataframe.province)]
dataframe = dataframe.set_index(['city', "t"])
dataframe
exog_vars = ['x1','x2']
exog = dataframe[exog_vars]
mod = PanelOLS(dataframe.y, dataframe[['x1','x2']], entity_effects = True)
mod_res = mod.fit()
print(mod_res)

RuntimeError                              Traceback (most recent call last)
 in
1 exog_vars = ['x1','x2']
2 exog = dataframe[exog_vars]
----> 3 mod = PanelOLS(dataframe.y, dataframe[['x1','x2']], entity_effects = True)
4 mod_res = mod.fit()
5 print(mod_res)
~\Anaconda3\lib\site-packages\linearmodels\panel\model.py in init(self, dependent, exog, weights, entity_effects, time_effects, other_effects, singletons, drop_absorbed)
760     def init(self, dependent, exog, *, weights=None, entity_effects=False, time_effects=False,
761                  other_effects=None, singletons=True, drop_absorbed=False):
--> 762         super(PanelOLS, self).init(dependent, exog, weights=weights)
763
764         self._entity_effects = entity_effects
~\Anaconda3\lib\site-packages\linearmodels\panel\model.py in init(self, dependent, exog, weights)
170
171     def init(self, dependent, exog, *, weights=None):
--> 172         self.dependent = PanelData(dependent, 'Dep')
173         self.exog = PanelData(exog, 'Exog')
174         self._original_shape = self.dependent.shape
~\Anaconda3\lib\site-packages\linearmodels\panel\data.py in init(self, x, var_name, convert_dummies, drop_first, copy)
223         levels = self._frame.index.levels
224         for i in range(2):
--> 225             levels[i].name = index_names[i]
226
227     @property
~\Anaconda3\lib\site-packages\pandas\core\indexes\base.py in name(self, value)
1189             # Used in MultiIndex.levels to avoid silently ignoring name updates.
1190             raise RuntimeError(
-> 1191                 "Cannot set name on a level of a MultiIndex. Use "
1192                 "'MultiIndex.set_names' instead."
1193             )
RuntimeError: Cannot set name on a level of a MultiIndex. Use 'MultiIndex.set_names' instead.

Which version of linearmodels are you using?  It is definitely fixed in master, and I think in 4.17 as well.

Works in the latest release and pandas 1.0.1.

Fixed in 2626748
https://github.com/bashtage/linearmodels/commit/26267483e34c9f44037bb8cee2d01ff170d81acb#diff-74a46690e88d8947d7d5e532b291b9f4R223

Which version of linearmodels are you using? It is definitely fixed in master, and I think in 4.17 as well.

You are correct.  Sorry.  I thought I updated it and it was a 4.14 issue.  For some reason when I removed and reinstalled the package (trying to capture and recreate this issue), it didn't pull the latest version.  Not sure why.  Thanks for your quick response.


Fix CMake scripts

cmake/configure_macros.cmake and cmake/configure_compiler.cmake
incorrectly reference CMAKE_SOURCE_DIR, occurences have been changed to
PROJECT_SOURCE_DIR
closes #7
@Naios

Alright, seems good. Thanks for your contribution!


Dimension elite support

does one of the machine_number provide support for a elite, if not how can i help to get the
hex string ? i got one, also have some dumps of the software ( diskimage )
Cheers

We have a uprint plus. Does anyone know the machine number or how to find it? is it stored on the hard drive somewhere? We have new EEPROM's and can read them.

Hi same for me
I just read the eeprom succesfully and also heed the correct machine number
I would guess that it is somewhere on the machine but haven't tried taking
the machine apart yet
It would be very nice to know how the other numbers got acquired
On Tue, Apr 14, 2015 at 10:23 AM, B4bazil<EMAIL_ADDRESS>wrote:

We have a uprint plus. Does anyone know the machine number or how to find
it? is it stored on the hard drive somewhere? We have new EEPROM's and can
read them.
—
Reply to this email directly or view it on GitHub
https://github.com/bvanheu/stratasys/issues/7#issuecomment-92691610.

It looks like there is added support for the uprint and uprintse, but not uprintse PLUS. I have tried to do the chips in my uprintse PLUS using the uprintse machine code, but it's not working. Where are the machine codes coming from?

Hi guys,
The machine codes are in a binary somewhere in the printer firmware. You have to reverse engineer the binary to see what code the firmware is using.

I wonder if the machine codes are located in the *.upg firmware upgrade files. I have these files for all of my machines...I have been looking but cannot find.

I am also looking for the machine id of the uprint SE Plus. I have an image of the hard drive and have been looking around, but I don't have any idea where to look. How were the existing machine id's obtained?

I've come to the conclusion that uPrint SE and uPrint SE Plus have the
same machine ID, because on Stratasys' website shop, the spools of
material you buy work on both machines. I still haven't gotten it to
work. I have to take one of my EEPROMs and dump its data and backtrack
to see what all of the original parameters are
On 6/2/2015 3:55 PM, Kieran Ramos wrote:

I am also looking for the machine id of the uprint SE Plus. I have an
image of the hard drive and have been looking around, but I don't have
any idea where to look. How were the existing machine id's obtained?
—
Reply to this email directly or view it on GitHub
https://github.com/bvanheu/stratasys/issues/7#issuecomment-108122763.

--
Best,
Miles Guidon
Hardware Design Engineer
MOCAP Design, LLC
www.MOCAPdesign.com http://www.mocapdesign.com
(818) 730-4212


Fix typo on ‘Paths in asset definitions’ document

Changed contib to contrib.

Do I have to link it to https://docs.djangoproject.com/ko/1.11/ref/contrib/staticfiles/#manifeststaticfilesstorage?


TTS Finetune / TTS3对multi-speaker数据进行微调

您好，我在使用examples/other/tts_finetune/tts3(commit_id 863609) finetune自己的数据集时遇到了问题：
example只提供了在csmsc_mini single-speaker上finetune的tutorial，但是对于tune on multi speaker dataset仍然是不可用的
为了finetune on multi speaker dataset，我尝试通过MFA align来获取音素的duration，但使用./tools/montreal-forced-aligner/bin/mfa_align时会有一部分文件无法生成TextGrid结果，查看log显示：
WARNING (gmm-align-compiled[5.4.247~1-2148]:main():gmm-align-compiled.cc:103) No features for utterance 000xxx

而后，我尝试使用latest MFA (from conda)与repo中提供的字典和AM提取音素duration，可正常生成结果，但是在训练一些step后会产生维度匹配错误，我想咨询下我的处理流程是否有问题？为什么在训练过程中会有bug？如果想保证训练过程的正常进行，应如何修改？
multiple speaker fastspeech2!
spk_num: 174
samplers done!
dataloaders done!
vocab_size: 306
W0923 19:56:10.536396 43391 gpu_resources.cc:61] Please NOTE: device: 0, GPU Compute Capability: 7.0, Driver API Version: 11.4, Runtime API Version: 10.1
W0923 19:56:10.542753 43391 gpu_resources.cc:91] device: 0, cuDNN Version: 7.6.
model done!
optimizer done!
/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/nn/layer/norm.py:653: UserWarning: When training, we now always track global mean and variance.
  warnings.warn(
INFO 2022-09-23 19:56:16,280 trainer.py:167]  iter: 96401/1200, Rank: 0, l1_loss: 1.856183, duration_loss: 0.316927, pitch_loss: 0.978752, energy_loss: 6.169956, loss: 9.321817, avg_reader_cost: 0.00075 sec, avg_batch_cost: 2.49490 sec, avg_samples: 32, avg_ips: 12.82615 sequences/sec
INFO 2022-09-23 19:56:16,432 trainer.py:167]  iter: 96402/1200, Rank: 0, l1_loss: 1.837183, duration_loss: 0.331705, pitch_loss: 2.075590, energy_loss: 5.443483, loss: 9.687962, avg_reader_cost: 0.00023 sec, avg_batch_cost: 0.15020 sec, avg_samples: 32, avg_ips: 213.05078 sequences/sec
INFO 2022-09-23 19:56:16,797 trainer.py:167]  iter: 96403/1200, Rank: 0, l1_loss: 1.924996, duration_loss: 0.372018, pitch_loss: 1.120224, energy_loss: 5.148971, loss: 8.566210, avg_reader_cost: 0.00028 sec, avg_batch_cost: 0.36255 sec, avg_samples: 32, avg_ips: 88.26467 sequences/sec
INFO 2022-09-23 19:56:17,012 trainer.py:167]  iter: 96404/1200, Rank: 0, l1_loss: 1.770270, duration_loss: 0.278578, pitch_loss: 0.868206, energy_loss: 4.675483, loss: 7.592536, avg_reader_cost: 0.00017 sec, avg_batch_cost: 0.21332 sec, avg_samples: 32, avg_ips: 150.00853 sequences/sec
INFO 2022-09-23 19:56:17,226 fastspeech2_updater.py:174] Evaluate: l1_loss: 2.153552, duration_loss: 0.385811, pitch_loss: 0.574073, energy_loss: 5.581622, loss: 8.695057
INFO 2022-09-23 19:56:20,039 trainer.py:167]  iter: 96405/1200, Rank: 0, l1_loss: 1.780190, duration_loss: 0.277861, pitch_loss: 1.635613, energy_loss: 5.039042, loss: 8.732705, avg_reader_cost: 0.24950 sec, avg_batch_cost: 0.51928 sec, avg_samples: 32, avg_ips: 61.62427 sequences/sec
INFO 2022-09-23 19:56:20,205 trainer.py:167]  iter: 96406/1200, Rank: 0, l1_loss: 1.688078, duration_loss: 0.244555, pitch_loss: 0.762871, energy_loss: 4.326387, loss: 7.021891, avg_reader_cost: 0.00062 sec, avg_batch_cost: 0.16330 sec, avg_samples: 32, avg_ips: 195.95860 sequences/sec
INFO 2022-09-23 19:56:20,473 trainer.py:167]  iter: 96407/1200, Rank: 0, l1_loss: 1.639309, duration_loss: 0.291534, pitch_loss: 0.861395, energy_loss: 4.975361, loss: 7.767599, avg_reader_cost: 0.00019 sec, avg_batch_cost: 0.26607 sec, avg_samples: 32, avg_ips: 120.26807 sequences/sec
INFO 2022-09-23 19:56:20,654 trainer.py:167]  iter: 96408/1200, Rank: 0, l1_loss: 1.648149, duration_loss: 0.320221, pitch_loss: 0.792124, energy_loss: 4.360466, loss: 7.120960, avg_reader_cost: 0.00018 sec, avg_batch_cost: 0.17950 sec, avg_samples: 32, avg_ips: 178.27264 sequences/sec
INFO 2022-09-23 19:56:20,908 fastspeech2_updater.py:174] Evaluate: l1_loss: 2.084182, duration_loss: 0.419054, pitch_loss: 0.366559, energy_loss: 4.915794, loss: 7.785589
INFO 2022-09-23 19:56:23,792 trainer.py:167]  iter: 96409/1200, Rank: 0, l1_loss: 1.634000, duration_loss: 0.245067, pitch_loss: 1.825069, energy_loss: 4.637261, loss: 8.341396, avg_reader_cost: 0.27610 sec, avg_batch_cost: 0.54012 sec, avg_samples: 32, avg_ips: 59.24561 sequences/sec
INFO 2022-09-23 19:56:24,009 trainer.py:167]  iter: 96410/1200, Rank: 0, l1_loss: 1.596452, duration_loss: 0.312945, pitch_loss: 0.717812, energy_loss: 3.500055, loss: 6.127264, avg_reader_cost: 0.00023 sec, avg_batch_cost: 0.21478 sec, avg_samples: 32, avg_ips: 148.99175 sequences/sec
INFO 2022-09-23 19:56:24,189 trainer.py:167]  iter: 96411/1200, Rank: 0, l1_loss: 1.579894, duration_loss: 0.246891, pitch_loss: 0.851606, energy_loss: 4.034445, loss: 6.712835, avg_reader_cost: 0.00030 sec, avg_batch_cost: 0.17803 sec, avg_samples: 32, avg_ips: 179.74425 sequences/sec
INFO 2022-09-23 19:56:24,458 trainer.py:167]  iter: 96412/1200, Rank: 0, l1_loss: 1.544847, duration_loss: 0.266166, pitch_loss: 0.645351, energy_loss: 4.618836, loss: 7.075200, avg_reader_cost: 0.00021 sec, avg_batch_cost: 0.26733 sec, avg_samples: 32, avg_ips: 119.70131 sequences/sec
INFO 2022-09-23 19:56:24,691 fastspeech2_updater.py:174] Evaluate: l1_loss: 2.006938, duration_loss: 0.450204, pitch_loss: 0.262614, energy_loss: 4.423265, loss: 7.143022
INFO 2022-09-23 19:56:27,653 trainer.py:167]  iter: 96413/1200, Rank: 0, l1_loss: 1.563614, duration_loss: 0.288662, pitch_loss: 1.887361, energy_loss: 3.617754, loss: 7.357391, avg_reader_cost: 0.27405 sec, avg_batch_cost: 0.53012 sec, avg_samples: 32, avg_ips: 60.36321 sequences/sec
INFO 2022-09-23 19:56:27,927 trainer.py:167]  iter: 96414/1200, Rank: 0, l1_loss: 1.547978, duration_loss: 0.275924, pitch_loss: 0.660862, energy_loss: 3.920330, loss: 6.405094, avg_reader_cost: 0.00029 sec, avg_batch_cost: 0.27138 sec, avg_samples: 32, avg_ips: 117.91451 sequences/sec
INFO 2022-09-23 19:56:28,144 trainer.py:167]  iter: 96415/1200, Rank: 0, l1_loss: 1.496017, duration_loss: 0.253219, pitch_loss: 0.574959, energy_loss: 3.712186, loss: 6.036382, avg_reader_cost: 0.00030 sec, avg_batch_cost: 0.21546 sec, avg_samples: 32, avg_ips: 148.51825 sequences/sec
INFO 2022-09-23 19:56:28,325 trainer.py:167]  iter: 96416/1200, Rank: 0, l1_loss: 1.476836, duration_loss: 0.215573, pitch_loss: 0.774607, energy_loss: 4.139956, loss: 6.606973, avg_reader_cost: 0.00029 sec, avg_batch_cost: 0.17925 sec, avg_samples: 32, avg_ips: 178.51734 sequences/sec
INFO 2022-09-23 19:56:28,529 fastspeech2_updater.py:174] Evaluate: l1_loss: 1.925813, duration_loss: 0.436651, pitch_loss: 0.225853, energy_loss: 4.057889, loss: 6.646207
INFO 2022-09-23 19:56:31,268 trainer.py:167]  iter: 96417/1200, Rank: 0, l1_loss: 1.507729, duration_loss: 0.278215, pitch_loss: 0.658901, energy_loss: 3.469983, loss: 5.914828, avg_reader_cost: 0.28339 sec, avg_batch_cost: 0.48521 sec, avg_samples: 32, avg_ips: 65.95148 sequences/sec
INFO 2022-09-23 19:56:31,511 trainer.py:167]  iter: 96418/1200, Rank: 0, l1_loss: 1.498667, duration_loss: 0.226933, pitch_loss: 0.807640, energy_loss: 3.796876, loss: 6.330114, avg_reader_cost: 0.00028 sec, avg_batch_cost: 0.24016 sec, avg_samples: 32, avg_ips: 133.24319 sequences/sec
Exception in main training loop: (InvalidArgument) The value (281) of the non-singleton dimension does not match the corresponding value (289) in shape for expand_v2 op.
  [Hint: Expected vec_in_dims[i] == expand_shape[i], but received vec_in_dims[i]:281 != expand_shape[i]:289.] (at /paddle/paddle/phi/kernels/impl/expand_kernel_impl.h:61)
  [operator < expand_v2 > error]
Traceback (most recent call last):
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/training/trainer.py", line 149, in run
    update()
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/training/updaters/standard_updater.py", line 110, in update
    self.update_core(batch)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/models/fastspeech2/fastspeech2_updater.py", line 63, in update_core
    before_outs, after_outs, d_outs, p_outs, e_outs, ys, olens = self.model(
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/models/fastspeech2/fastspeech2.py", line 550, in forward
    before_outs, after_outs, d_outs, p_outs, e_outs = self._forward(
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/models/fastspeech2/fastspeech2.py", line 667, in _forward
    zs, _ = self.decoder(hs, h_masks)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/encoder.py", line 409, in forward
    xs, masks = self.encoders(xs, masks)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/repeat.py", line 25, in forward
    args = m(*args)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/encoder_layer.py", line 99, in forward
    x = residual + self.dropout(self.self_attn(x_q, x, x, mask))
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/attention.py", line 144, in forward
    return self.forward_attention(v, scores, mask)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/attention.py", line 107, in forward_attention
    scores = masked_fill(scores, mask, min_value)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/masked_fill.py", line 44, in masked_fill
    mask = mask.broadcast_to(bshape)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/tensor/manipulation.py", line 1917, in broadcast_to
    return _C_ops.expand_v2(x, 'shape', shape)
Trainer extensions will try to handle the extension. Then all extensions will finalize.Traceback (most recent call last):
  File "/home/xxxx/icassp_workspace/PaddleSpeech/examples/other/tts_finetune/tts3/local/finetune.py", line 269, in <module>
    train_sp(train_args, config)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/examples/other/tts_finetune/tts3/local/finetune.py", line 202, in train_sp
    trainer.run()
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/training/trainer.py", line 198, in run
    six.reraise(*exc_info)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/six.py", line 719, in reraise
    raise value
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/training/trainer.py", line 149, in run
    update()
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/training/updaters/standard_updater.py", line 110, in update
    self.update_core(batch)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/models/fastspeech2/fastspeech2_updater.py", line 63, in update_core
    before_outs, after_outs, d_outs, p_outs, e_outs, ys, olens = self.model(
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/models/fastspeech2/fastspeech2.py", line 550, in forward
    before_outs, after_outs, d_outs, p_outs, e_outs = self._forward(
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/models/fastspeech2/fastspeech2.py", line 667, in _forward
    zs, _ = self.decoder(hs, h_masks)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/encoder.py", line 409, in forward
    xs, masks = self.encoders(xs, masks)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/repeat.py", line 25, in forward
    args = m(*args)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/encoder_layer.py", line 99, in forward
    x = residual + self.dropout(self.self_attn(x_q, x, x, mask))
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/attention.py", line 144, in forward
    return self.forward_attention(v, scores, mask)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/attention.py", line 107, in forward_attention
    scores = masked_fill(scores, mask, min_value)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/masked_fill.py", line 44, in masked_fill
    mask = mask.broadcast_to(bshape)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/tensor/manipulation.py", line 1917, in broadcast_to
    return _C_ops.expand_v2(x, 'shape', shape)
ValueError: (InvalidArgument) The value (281) of the non-singleton dimension does not match the corresponding value (289) in shape for expand_v2 op.
  [Hint: Expected vec_in_dims[i] == expand_shape[i], but received vec_in_dims[i]:281 != expand_shape[i]:289.] (at /paddle/paddle/phi/kernels/impl/expand_kernel_impl.h:61)
  [operator < expand_v2 > error]

非常感谢您的回复！我已经check过了预处理的MEL的长度dump/{data_split}/data_speech/*.npy与dump/{data_split}/metadata.jsonl中的duration，发现train/dev/test都是可以匹配的。
看traceback是在attention mask broadcast的时候挂掉的，问题出现在PaddleSpeech框架内部(paddlespeech/t2s/modules/masked_fill.py#44)，暂时还没有定位到是哪里的问题。
我接下来会试着用aishell/tts3做继续的finetune，我主要是刚接触这个area，很多东西不是很熟悉，就想着能用tts_finetune/tts3省心点搞完就好了。

我发现在报错出现前已经经过了数次的Evaluate，注意到代码中evaluator的trigger是per-epoch的，应该是run了几个epoch都正常，但是突然报错，有些confuse

您好，我尝试使用aisheel3/tts3 进行finetune，但是仍然会遇到此bug，不知道应该如何定位、解决问题，您有什么建议吗？

INFO 2022-09-24 11:36:11,383 trainer.py:167]  iter: 90/200, Rank: 0, l1_loss: 1.274704, duration_loss: 0.168186, pitch_loss: 0.668763, energy_loss: 1.406364, loss: 3.518017, avg_reader_cost: 9.86195 sec, avg_batch_cost: 10.37309 sec, avg_samples: 64, avg_ips: 6.16981 sequences/sec
INFO 2022-09-24 11:36:11,383 trainer.py:167]  iter: 90/200, Rank: 1, l1_loss: 1.251410, duration_loss: 0.153488, pitch_loss: 0.876803, energy_loss: 1.262913, loss: 3.544615, avg_reader_cost: 9.75817 sec, avg_batch_cost: 23.90390 sec, avg_samples: 64, avg_ips: 2.67739 sequences/sec
/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  dtype=np.complex,
/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  dtype=np.complex,
/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  dtype=np.complex,
/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  dtype=np.complex,
INFO 2022-09-24 11:36:18,374 fastspeech2_updater.py:174] Evaluate: l1_loss: 1.686024, duration_loss: 0.357755, pitch_loss: 0.217953, energy_loss: 2.897542, loss: 5.159274
/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  dtype=np.complex,
/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  dtype=np.complex,
INFO 2022-09-24 11:36:31,459 trainer.py:167]  iter: 91/200, Rank: 0, l1_loss: 1.267544, duration_loss: 0.171551, pitch_loss: 1.186325, energy_loss: 1.460606, loss: 4.086026, avg_reader_cost: 8.73017 sec, avg_batch_cost: 9.14669 sec, avg_samples: 64, avg_ips: 6.99707 sequences/sec
INFO 2022-09-24 11:36:31,459 trainer.py:167]  iter: 91/200, Rank: 1, l1_loss: 1.259085, duration_loss: 0.155300, pitch_loss: 0.526848, energy_loss: 1.223089, loss: 3.164323, avg_reader_cost: 7.12135 sec, avg_batch_cost: 20.07384 sec, avg_samples: 64, avg_ips: 3.18823 sequences/sec
/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  dtype=np.complex,
/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  dtype=np.complex,
/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  dtype=np.complex,
/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  dtype=np.complex,
INFO 2022-09-24 11:36:37,434 fastspeech2_updater.py:174] Evaluate: l1_loss: 1.681811, duration_loss: 0.358128, pitch_loss: 0.217943, energy_loss: 2.905669, loss: 5.163549
/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  dtype=np.complex,
/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: `np.complex` is a deprecated alias for the builtin `complex`. To silence this warning, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  dtype=np.complex,
Exception in main training loop: (InvalidArgument) The value (281) of the non-singleton dimension does not match the corresponding value (289) in shape for expand_v2 op.
  [Hint: Expected vec_in_dims[i] == expand_shape[i], but received vec_in_dims[i]:281 != expand_shape[i]:289.] (at /paddle/paddle/phi/kernels/impl/expand_kernel_impl.h:61)
  [operator < expand_v2 > error]
Traceback (most recent call last):
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/training/trainer.py", line 149, in run
    update()
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/training/updaters/standard_updater.py", line 110, in update
    self.update_core(batch)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/models/fastspeech2/fastspeech2_updater.py", line 63, in update_core
    before_outs, after_outs, d_outs, p_outs, e_outs, ys, olens = self.model(
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/parallel.py", line 752, in forward
    outputs = self._layers(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/models/fastspeech2/fastspeech2.py", line 550, in forward
    before_outs, after_outs, d_outs, p_outs, e_outs = self._forward(
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/models/fastspeech2/fastspeech2.py", line 667, in _forward
    zs, _ = self.decoder(hs, h_masks)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/encoder.py", line 409, in forward
    xs, masks = self.encoders(xs, masks)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/repeat.py", line 25, in forward
    args = m(*args)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/encoder_layer.py", line 99, in forward
    x = residual + self.dropout(self.self_attn(x_q, x, x, mask))
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/attention.py", line 144, in forward
    return self.forward_attention(v, scores, mask)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/attention.py", line 107, in forward_attention
    scores = masked_fill(scores, mask, min_value)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/masked_fill.py", line 44, in masked_fill
    mask = mask.broadcast_to(bshape)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/tensor/manipulation.py", line 1917, in broadcast_to
    return _C_ops.expand_v2(x, 'shape', shape)
Trainer extensions will try to handle the extension. Then all extensions will finalize.

--------------------------------------
C++ Traceback (most recent call last):
--------------------------------------
0   void paddle::memory::Copy<phi::CPUPlace, phi::Place>(phi::CPUPlace, void*, phi::Place, void const*, unsigned long, void*)
1   void paddle::memory::Copy<phi::Place, phi::Place>(phi::Place, void*, phi::Place, void const*, unsigned long, void*)
2   void paddle::memory::Copy<phi::CPUPlace, phi::GPUPlace>(phi::CPUPlace, void*, phi::GPUPlace, void const*, unsigned long, void*)
3   phi::backends::gpu::GpuMemcpySync(void*, void const*, unsigned long, cudaMemcpyKind)

----------------------
Error Message Summary:
----------------------
FatalError: `Termination signal` is detected by the operating system.
  [TimeInfo: *** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1663990610" if you are using GNU date ***]
  [SignalInfo: *** SIGTERM (@0x3e800069696) received by PID 431879 (TID 0x7f22d035e4c0) from PID 431766 ***]

Traceback (most recent call last):
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/exps/fastspeech2/train.py", line 215, in <module>
    main()
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/exps/fastspeech2/train.py", line 209, in main
    dist.spawn(train_sp, (args, config), nprocs=args.ngpu)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/distributed/spawn.py", line 565, in spawn
    while not context.join():
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/distributed/spawn.py", line 373, in join
    self._throw_exception(error_index)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/distributed/spawn.py", line 391, in _throw_exception
    raise Exception(msg)
Exception:

----------------------------------------------
Process 0 terminated with the following error:
----------------------------------------------

Traceback (most recent call last):
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/distributed/spawn.py", line 322, in _func_wrapper
    result = func(*args)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/exps/fastspeech2/train.py", line 168, in train_sp
    trainer.run()
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/training/trainer.py", line 198, in run
    six.reraise(*exc_info)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/six.py", line 719, in reraise
    raise value
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/training/trainer.py", line 149, in run
    update()
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/training/updaters/standard_updater.py", line 110, in update
    self.update_core(batch)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/models/fastspeech2/fastspeech2_updater.py", line 63, in update_core
    before_outs, after_outs, d_outs, p_outs, e_outs, ys, olens = self.model(
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/parallel.py", line 752, in forward
    outputs = self._layers(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/models/fastspeech2/fastspeech2.py", line 550, in forward
    before_outs, after_outs, d_outs, p_outs, e_outs = self._forward(
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/models/fastspeech2/fastspeech2.py", line 667, in _forward
    zs, _ = self.decoder(hs, h_masks)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/encoder.py", line 409, in forward
    xs, masks = self.encoders(xs, masks)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/repeat.py", line 25, in forward
    args = m(*args)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/encoder_layer.py", line 99, in forward
    x = residual + self.dropout(self.self_attn(x_q, x, x, mask))
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 930, in __call__
    return self._dygraph_call_func(*inputs, **kwargs)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/fluid/dygraph/layers.py", line 915, in _dygraph_call_func
    outputs = self.forward(*inputs, **kwargs)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/attention.py", line 144, in forward
    return self.forward_attention(v, scores, mask)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/transformer/attention.py", line 107, in forward_attention
    scores = masked_fill(scores, mask, min_value)
  File "/home/xxxx/icassp_workspace/PaddleSpeech/paddlespeech/t2s/modules/masked_fill.py", line 44, in masked_fill
    mask = mask.broadcast_to(bshape)
  File "/home/xxxx/.custom/cuda-11.4.2-cudnn8-devel-ubuntu20.04-pytorch1.9.0_full_tensorboard/envs/paddle_env/lib/python3.9/site-packages/paddle/tensor/manipulation.py", line 1917, in broadcast_to
    return _C_ops.expand_v2(x, 'shape', shape)
ValueError: (InvalidArgument) The value (281) of the non-singleton dimension does not match the corresponding value (289) in shape for expand_v2 op.
  [Hint: Expected vec_in_dims[i] == expand_shape[i], but received vec_in_dims[i]:281 != expand_shape[i]:289.] (at /paddle/paddle/phi/kernels/impl/expand_kernel_impl.h:61)
  [operator < expand_v2 > error]

建议先跑通我们的代码，熟悉数据预处理、训练流程，再自己改输入

好的，我尝试一下

我用的paddle都是pip源安装的，Example代码是可以跑通的，还是没有定位到问题在哪里，不过我尝试修改t2s/training/trainer.py#149为：
try:
    update()
except:
    print("[warning] bug")
    continue

倒是也能训练了，听着训练结果感觉还ok，提示bug的频率不高，没有连着出现3+ bugs的情况。

建议先跑通我们的代码，熟悉数据预处理、训练流程，再自己改输入，使用 paddle 稳定版（如 2.3.1） 大概率是数据的问题

使用paddle 2.4rc finetune的时候报错
C++ Traceback (most recent call last):
No stack trace in paddle, may be caused by external reasons.

Error Message Summary:
FatalError: Segmentation fault is detected by the operating system.
[TimeInfo: *** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1669810187" if you are using GNU date ***]
[SignalInfo: *** SIGSEGV (@0x0) received by PID 46457 (TID 0x7f4d1a963740) from PID 0 ***]
是只能用 paddle 2.3.1 版本吗？

建议先跑通我们的代码，熟悉数据预处理、训练流程，再自己改输入，使用 paddle 稳定版（如 2.3.1） 大概率是数据的问题

paddlespeech建议用哪个版本的？

+1

我用的paddle都是pip源安装的，Example代码是可以跑通的，还是没有定位到问题在哪里，不过我尝试修改t2s/training/trainer.py#149为：
try:
    update()
except:
    print("[warning] bug")
    continue

倒是也能训练了，听着训练结果感觉还ok，提示bug的频率不高，没有连着出现3+ bugs的情况。

我也是遇到这个问题，在9900k+3090的电脑上没问题，换到13900k+4090的电脑上训练就是这样，bug一大堆，感觉是有一半的语料都没有练进去，最后有解决吗？

我遇到了一模一样的问题

朋友们，换成这个吧，贼爽，https://github.com/Plachtaa/VITS-fast-fine-tuning


Added support for certs and path for config file

Added support for certs and path for config file

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.sreedhar kaluvai seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Remove examples folder.

Some good examples can be found at

https://github.com/mranney/redis_trace

https://github.com/mranney/http_trace

IMO external repositories are the best places for example applications as it better represents how developers should use this library. Further more it lets the readme and other documentation in this library focus on usage of the library rather than usage of the example scripts.

I'm actually fine with this too, as long as there are enough representative examples linked to explain to people how to use it.

Fixed the examples and removed http trace #146

@mranney I took @vigneshshanmugam's changes for now so that we have them is their any more examples you would like to extract to their own project's prior to their removal?
I have opened issue #150 to solicit the community for examples of this library being used.


fatal: bad revision '"--grep=Merge remote"' in Android studio

Android studio ：3.2.1
details:
Command line: [git -c core.quotepath=false -c log.showSignature=false log --pretty=format:%x01%x01%H%x02%x02%P%x02%x02%ct%x02%x02%an%x02%x02%ae%x02%x02%d%x03%x03 --encoding=UTF-8 --decorate=full HEAD --branches --remotes --tags "--grep=Merge remote" --fixed-strings --regexp-ignore-case --]
com.intellij.openapi.vcs.VcsException: fatal: bad revision '"--grep=Merge remote"'

I set WSLGIT_USE_INTERACTIVE_SHELL to 0 in User variables  instead of System variables.
If there is other information to help you find the problem, please tell me how it should be provided.

This looks very similar to #46, can you please check if the solution there fixes it for you?

Yes, my problem has been solved. Thank you and @diablodale.


changed url and opens in new window

@xavijam , made url open in new window (it was opening in the Product) and the changed the url to non-Editor docs :-)

:es:, wait for green please 🤗 .


GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @TheNeuralBit could you take a look?

Run Python PreCommit

Run Python PreCommit


Object is not a primitive type nor a Typegoose schema

Is there any way to use typegoose with fields of type 'any' or 'object'?

Currently you can only add primitives and Typegoose descendants. This is would be a good addition to the library.

Hi @Pikachews
In my experience, you can add typescript class as part of the Schema, but you can not create instanceMethod or staticMethod on the subDocument.
Example code:
export class Job {
  @prop()
  title?: string;

  @prop()
  position?: string;

  @prop({ required: true, default: Date.now })
  startedAt: Date;
}

export class User extends Typegoose {
...
  @prop()
  job?: Job;

  @arrayProp({ items: Job })
  previousJobs?: Job[];
...
@instanceMethod
  addJob(this: InstanceType<User>, job: Partial<Job> = {}) {
    this.previousJobs.push(job);

    return this.save();
  }
}

This works fine for me. I hope it answers your question.
Cheers,
Daniel


Mark Style/MutableConstant as unsafe

Follow https://github.com/rubocop-hq/rubocop/pull/8529.
Style/MutableConstant is the same as Style/FrozenStringLiteralComment, freezing object is unsafe auto-correction.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Thanks!

Thanks!


Can't type letter C

Issue Type: Bug
I get the following error whenever i type letter C "command 'C_Cpp.ConfigurationProviderSelect' not found"
VS Code version: Code 1.46.1 (cd9ea6488829f560dc949a8b2fb789f3cdc05f5d, 2020-06-17T21:13:20.174Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz (4 x 2794)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
3.87GB (0.52GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

remote-wsl
ms-
0.44.4

Sounds like you might have a keyboard shortcut defined.

Thankyou for your help, I've successfully dealt with the issue.

Sounds like you might have a keyboard shortcut defined.

@munano96 that's good. Now please close the issue.


Default to horizontal layout

When using the Tabler theme, perhaps we should default to using the horizontal layout, out-of-the-box. That’s what we want new projects to use, right? And “doubleTopBarInHorizontalLayouts” set to false by default.

Fixed in https://github.com/Laravel-Backpack/theme-tabler/pull/83


IndexError when "url" not found in args or kwargs.

Overview
I've found an issue in line 46 of call() method in AioHttpClientInstrumentation(...) class.
https://github.com/elastic/apm-agent-python/blob/da93e7af448abcac367d216e2d20a584051f6e50/elasticapm/instrumentation/packages/asyncio/aiohttp_client.py#L44-L47
I'm getting an IndexError exception due to lack or "url" in both kwargs and in args[1]. The the reason is that the argument containing urls is called "str_or_url".
https://github.com/aio-libs/aiohttp/blob/4b59d55e9e79f5a0b1932d6dc9f6b12a33d19266/aiohttp/client.py#L325-L328
By default the code is running fine, but this issue will appear in cases where someone will try to use ClientSession._request() method directly AND use keyword-arguments.
How to recreate the bug?
This is a general example on how to recreate the bug. Lets assume that somewhere in my code I want to connect to some external http rest-api service using aiohttp library. I'll be using custom made session object based on ClientSession object from aiohttp library.
from aiohttp import ClientSession, ClientResponse

class CustomSession(ClientSession):

    async def _request(self, method: str, str_or_url: StrOrURL, **kwargs: Any) -> ClientResponse:
        # put some extra code here, like add retry functionality
        client_response = await super()._request(method=method, str_or_url=url, **kwargs) # << ISSUE IS HERE
        return client_response

the above code is valid and it works as long as there is no apm agent running as middleware. With apm agent added, the code has to be written as below:
        client_response = await super()._request(method, url, **kwargs)

How to fix it?
Do search for both url and str_or_url in kwargs. It's simple fix that can fit in same line, I bet.

Thanks for the find! Would you be willing to submit a PR for this fix?

I can't promise it will be soon, but I'll try to put something together and submit it as PR. After all it should be a really simple fix.

Excellent! Looking forward to your PR. No hurry. :)

Excellent, thanks @nbarbey!


Fix replaceWith from the Ajax request

The replacement of the html tag was removing the blockcart from the dom.
After has been removed the next time we called the modal add-to-cart the app fail because refreshURL couldn't retrieve the url from the dom.
This Bug was introduced in the previous PR
https://github.com/PrestaShop/ps_shoppingcart/pull/9

Hello @numanWD,
Are you using Classic theme? Which PresaShop version?
I'm trying to add the same product several times and everything is working.
Thank you

Hi @maximebiloe,
I am using the latest release <IP_ADDRESS>, my theme is closely base in the classic theme.
I could try again this evening using the classic theme, and the originals views

It would be great, thanks 😄

Hi @maximebiloe
It is kind of failing as-well in the classic theme.
The only difference is that, in the classic theme you are wrapping the class .blockcart under a div.
And the Javascript is looking for a class .blockcart under the first child.
But with the default view tpl and js doesn't work (because is in the root)
The options are:

Update the tpl template with a wrapper
The modifications suggested in the PR

The problem with the option 2 is that, the modifications will affect the classic theme.
Everytime someone open the modal, it will be nesting new wrapper.

      ...

Maybe the best option to don't change the classic theme would be add the wrapper in the ps_shoppingcart.tpl.
What do you prefer @maximebiloe ?

Hello @numanWD,
Thank for your feedback.
I prefer the wrapper solution. You can find a PR here: https://github.com/PrestaShop/ps_shoppingcart/pull/16
So, I close this one.
Regards


The process '/usr/bin/pwsh' failed with exit code 1

See attached error.
error_AzGovViz.txt
Also, got warning for deprecated code. This happened after running DeployAzGovViz.
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: azure/powershell@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Found the issue. It seems this is only applicable when you have permission on the management group level. Can't this be applied on the subscription level?

@hillalcantarapwc  Thanks for opening this issue, this has been fixed by #14 . Please fetch the latest code and try again.


CJK characters alignment issue in some applications

In a normal situation, the width of a single CJK character of Sarasa Gothic (mono/fixed variants) is perfectly 2 times of the width of a single Latin character.
But in some applications, the width of a single CJK characters is about 3~4 times of the width of a single Latin character, which cause the alignment issue.
Screenshots of the application which has no issue

neovim in terminal

Screenshots of the application which has the alignment issue

JetBrains IDEs

notepad.exe

notepad++

Some related issues:

https://github.com/laishulu/Sarasa-Mono-SC-Nerd/issues/8
https://github.com/be5invis/Sarasa-Gothic/issues/108

After https://github.com/jonz94/Sarasa-Gothic-Nerd-Fonts/commit/145000bf0a64ae0bf17b99e483fb40e414ef6cad the issue should be resolved!

JetBrains IDEs

notepad.exe

notepad++

Closed by https://github.com/jonz94/Sarasa-Gothic-Nerd-Fonts/commit/145000bf0a64ae0bf17b99e483fb40e414ef6cad

Your release solved my same issue, thanks!


Update UI so that user can pick individual sections to complete

Currently all sections are selected by default.  Users would have to answer all questions (~100) and then they would get all the recommendations (unless they are high performing). That's alot to take in at once.
Other approach that was discussed is to have a first section with recommendations lead into other sections. For example:

Transformational leadership

Westrum
Experimentation
CI/CD

For initial user testing, all sections should be presented to users and they can pick the one they want to complete.
One section at a time: complete the survey and get recommendations.  Then start another section.


Add missing I2C3 support on nucleo-l432kc board

Summary
On nucleo-l432kc board, there is two I2C device, I2C1 and I2C3. But I2C3 is existing on only Kconfig configuration while its pin definition, initializing driver and device registering is missing unlike I2C1. Without my PR, when build with I2C3 enabling, below error will be caused.
CC:  chip/stm32l4_i2c.c
chip/stm32l4_i2c.c:595:17: error: 'GPIO_I2C3_SCL' undeclared here (not in a function); did you mean 'GPIO_I2C1_SCL'?
chip/stm32l4_i2c.c:596:17: error: 'GPIO_I2C3_SDA' undeclared here (not in a function); did you mean 'GPIO_I2C1_SDA'?

This error caused due to missing pin definition and fixed through first commit on this PR.
Although, build is success through this fix but there is no /dev/i2c3 device due to missing initializing and register process. So I added these process of I2C3 symmetrically with I2C1 through second commit.
Impact

Add GPIO_I2C3_SDA, GPIO_I2C3_SCL macro.
Clone I2C1's init and register process to I2C3 and Modify to fit I2C3.

Testing

Built successfully and working on real nucleo-l432kc board.
Successfully read MPU6050 sensor's value through I2C3.

Hi @Dictor thank you very much for finding and fixing this issue! Could you please run the nxstyle tool on this files to fix the coding style?
$ cd tools
$ make nxstyle
$ cd ..
$ ./tools/nxstyle boards/arm/stm32l4/nucleo-l432kc/include/board.h
$ ./tools/nxstyle boards/arm/stm32l4/nucleo-l432kc/src/stm32_appinit.c

Sorry @acassis, I mistake about my eol character setting. I fixed it on additional commit.
Thanks for response.

You are welcome @Dictor ! I really appreciate it!


Feature/spiffs ftruncate

Add SPIFFS_ftruncate api support.
Add unit test ftruncate_file to verify SPIFFS_ftruncate
Testing

Sweet, thanks!


RSM-014: nonprofiled consumption add actor attributes

Description
RSM-014: nonprofiled consumption add actor attributes (energysupplier/balanceresponsibleparty)

Codecov Report

Merging #53 (a920b39) into main (b3f7604) will decrease coverage by 10.90%.
The diff coverage is 16.66%.

@@             Coverage Diff             @@
##             main      #53       +/-   ##
===========================================
- Coverage   81.81%   70.92%   -10.90%
===========================================
  Files         330      402       +72
  Lines        6067     8472     +2405
  Branches      572        0      -572
===========================================
+ Hits         4964     6009     +1045
- Misses        916     2304     +1388
+ Partials      187      159       -28

Impacted Files
Coverage Δ

...reData/NotifyAggregatedMeasureDataMessageWriter.cs
16.94% <0.00%> (-83.06%)
:arrow_down:

source/Domain/Actors/ActorNumber.cs
50.00% <50.00%> (-40.00%)
:arrow_down:

...yAggregatedMeasureData/AggregationResultMessage.cs
61.53% <50.00%> (-27.04%)
:arrow_down:

...urce/CimMessageAdapter/Response/ResponseMessage.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...ce/Domain/OutgoingMessages/Peek/EnqueuedMessage.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...astructure/Configuration/SystemDateTimeProvider.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...tion/OutgoingMessages/OutgoingMessageExtensions.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...ying.Contracts/BusinessRequests/MoveIn/Response.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...sages/Queues/RequestChangeOfSupplierTransaction.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...irmRequestChangeOfSupplier/MarketActivityRecord.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 198 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


/tmp/ directory is not correctly shared by action runners

This was originally reported in #3122 and supposedly solved / fixed by https://github.com/StackStorm/st2-packages/pull/458.
I just spent 1 hour+ debugging an issue which it turns out it's related to this problem - /tmp directory is not correctly shared by the runners on Ubuntu 16.04.
As the comments there say - there are still edge cases where /tmp/ sharing doesn't work correctly. I'm aware of the security benefits of having a private /tmp/ for action runners, but a lot of our workflows, etc. rely on sharing stuff via /tmp/ and now that doesn't work correctly in some scenarios.
Even if we think current approach is the right solution, I'm worried about the user experience. Even if we document it, I'm sure others will encounter this problem and waste a lot of time debugging a root cause.
My proposal is to change PrivateTmp=false or at the very least put a very big clear explicit warning in the docs to never share files via /tmp/ inside actions because users will be in for a bad time.
Also, since https://github.com/StackStorm/st2-packages/pull/458 made the change to True, it might have actually introduced the regression, at least for some versions, because PrivateTmp used to default to false.
For context and details, please see https://github.com/StackStorm/st2-packages/pull/458#issuecomment-346296391.

When you get a chance, please have a look - @armab @enykeev @lakshmi-kannan
I would imagine not many users didn't encounter this issue yet because they don't run 16.04. Same for me locally - I still run 14.04 locally so I didn't encounter this issue locally.

@Kami do you agree that this one can be closed as U16 is no longer supported and our current systemd service files use PrivateTmp=true?

I don't think it's relevant to U16. It's just systemd specific setting.


Sequences are broken if part of them are unbound

Take a look at this and follow the instructions on screen to see what I think is a bug
https://jsfiddle.net/9kov1p60/
Basically, if you have two different shortcuts, g r and r, I would expect r to only fire if it wasn't immediately preceded by a g... but even more important is that unbinding r alone should not break the sequence g r, but apparently it is.

Thanks for this... It is definitely strange behavior, but I think part of it has to do with dynamically adding and removing bindings.  If you take a look at this fiddle
https://jsfiddle.net/9kov1p60/1/
You will see the case of g r and r works as expected.  What I think is happening is the sequence for g r also binds a callback to the r key that I think adding the later r event is overwriting and preventing the sequence from firing at all (not sure why though).
It's strange though cause it works even if you do this:
https://jsfiddle.net/9kov1p60/2/
I will look into it a little further... but I suspect what is actually happening is as soon as you press g i and bind the new r binding, it breaks the g r sequence and it never fires at all.
--
What you can do in the mean time is always bind the r key up front and just set a flag in the g i binding like var inbox = true; then in the callback for r you can check the flag before doing what you want to do.

What you can do in the mean time is always bind the r key up front

Hey, thanks for the workaround but as you can imagine this is only a simplified part of a much bigger application, where a workaround like this (having all possible keyboard shortcuts bound at all times) could become pretty unmanageable

but I suspect what is actually happening is as soon as you press g i and bind the new r binding, it breaks the g r sequence and it never fires at all.

yeah, that does seem to be the case
hopefully this can be fixed :)

I've experienced this as well, and have abstracted mousetrap into a "scope" system. I scope sets of kb commands in to sub objects:
{   views: [    {combo: 'g v', func: doThings()},    {combo: 'g a', func: startStuff()}   ],   actions: [    {combo: 'k l', func: runCode()}   ] }
then when I call my "mount" or "unmount", I simply mousetrap.reset() and run through the array and mousetrap.bind() one at a time. This allows the workaround suggested to be implemented in a pretty scalable way (since you can define your kb commands in a specific order, but also have them scoped to different parts of your application). It's definitely not ideal, I wish that unbind() would just work, but this works until it gets fixed.

Hi there, we're using Mousetrap latest on a project and are experiencing this exact issue. Has there been any progress on resolving the issue? Any help we can give? We've tried some debugging of the sequence matching but haven't found the root cause yet.

The issue is strange because adding new binding inside a binder is so weird that the solution should be reviewed.

We note there is a pull request for a fix: https://github.com/ccampbell/mousetrap/pull/319

The PR works and it would be great if it was merged.


Footer Update

It looks good @Sauvikn98, just remove some icons only keep github, mail and discord!

I could not find the Discord icon in the Material UI Package so have kept the LinkedIn Icon for now @Lalit3716


Integration Test - Release - 2019/05/21 15:40:00

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#backlog'

#pri2

#backlog

#assign PRMergerTest1

#assign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#reassign PRMergerTest2

GitHub user PRMergerTest1 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#reassign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#please-close


tilt/tent plates support choc switch

does plates/tilting-tenting/tilting-tenting_top-bottom.dxf support choc, mx, or both?

only mx, thanks.


Rollup reports in grouping tab

Describe the solution you'd like
If multiple columns are added to the Grouping tab, have an option available to turn it into a sort of tree, rather than a simple grid, with subtotals presented for more leftward columns.  Something like this:
Column1  Column2  Sum1
-------  -------  ----
A        A1       1000
A        A2       1100
B        B1       1200
B        B2       1300
C        C1       1400

could look something like this:
  Column1  Column2  Sum1
  -------  -------  ----
+ A                 2100
+ B                 2500
+ C                 1400

with the ability to expand sections like so:
  Column1  Column2  Sum1
  -------  -------  ----
+ A                 2100
- B                 2500
  B        B1       1200
  B        B2       1300
+ C                 1400

Describe alternatives you've considered
It doesn't have to be in the Grouping panel.  It could be a different sort of view.
Additional context
Add any other context or screenshots about the feature request here.

thanks for suggestion


Split out interop into three modules

Currently, the interop module holds cats, scalaz72, and future interop packages.
These should be split up into three top-level interop modules:
/interop-cats/
/interop-future/
/interop-scalaz7x/

This will allow three to evolve independently and provide clearer and more useful code organization.

Let me take it.

Closed by #408


[Review Only] Temporary schedule overrides

A few notes:

At one point I merged a few changes from DIY LoopKit that haven't yet made it to Tidepool LoopKit. Please ignore the following files, which include these changes: InsulinMath.swift, HealthKitSampleStore.swift, and any changes related to Pete's basal picker.
The diagnostic inclusion of computed EGP and carb sensitivity schedules could be merged into dev separately, as those computations aren't tied specifically to this feature. I wrote them because overrides will make obvious the strange behavior of misaligned schedules, and it will be easier to diagnose poor settings based on EGP and carb sensitivity than by looking at basal and ICR.

Will reopen when this is ready


Extract cl.flashResult

This is in anticipation of flashing the result of a delete operation inline in the "My links" table.
This also extracts the prepareFlashingElement test helper and pared down the number of createLinkClick test cases, since the flashResult test cases cover every condition at a lower level.
Also removes the 'button' class from button elements. It's redundant and unnecessary, since Skeleton CSS styles the buttons based on tag name to begin with.

Coverage increased (+0.01%) to 98.008% when pulling 3329d9ee20cc094f93639927bc05af33998edd06 on extract-flash into 1624313c52762eda9a71248b2e5601c2921afa96 on master.


Can you show ROUGE-score?

Can you show ROUGE scores of the model trained on SogouCS corpus? thanks

Hi @odek53r  I don't have the ROUGE score for the testing dataset yet, because the overall textsum task on this Chinese news corpus is quite low compared to the score published by papers on the Megaword corpus. But if you want to test a specific example, you can try the examples in the data/test folder, which will give you a sense on the ROUGE score of Bi-gram.


Make examples more clear

I've seen some [NEW CONTENT TYPE REQUEST] issues that misunderstand the template. People think that the bullet points are part of one big example of a list. They are intended as a list of individual examples. I thought that the quotation marks, and entire comma separated lists under one bullet point made that clear when I wrote it. You don't need to use bullet points for one item, or keep the word "Examples", like this, or this, or this, or this, or this, or this, or, this, or this, or, this, or this, or this, or this, or this.

Hello folks! sorry for the delay in replying, we are busy working on the next big release :-) In the meantime, it's good to improve the GH template, but what's about the changes in docs/js? can we remove changes to that file from the PR so that we can focus on improving the GH template? Thanks!

I'll take that as a "yes" to my question in the above conversation. Changing it back now.


Creating subsites in modern site [collections]

Any curious site owner will find that with all the hidden links and pages related to site creation via the Admin Portal leaves a sneaky gap. Go to Site Settings and click on "Sites and workspaces" and voila: there's a lovely 'Create' link that takes you straight to the classic site creation page and includes both classic and modern templates to choose from.
If you're going to hide stuff, Microsoft, HIDE IT ALL!!!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b29978b1-a400-bacb-1330-55ed3d652053
Version Independent ID: eae9fd16-57fc-1a80-3ce9-9b34b68eb1e0
Content: Manage site creation in SharePoint Online
Content Source: SharePoint/SharePointOnline/manage-site-creation.md
Service: sharepoint-online
GitHub Login: @kaarins
Microsoft Alias: kaarins

@LisaJo48  - thank you for engaging with the community here for the docs.
I know the product teams are always looking for user feedback and how to make SharePoint better. They keep a close tab on user feedback and it would be awesome if you could add your voice in User Voice https://sharepoint.uservoice.com/.
You might find others have made a similar request that you can add to, or you can open a new one. Let us know here if you do so we can up-vote your request.
Thank you for your contribution to make the docs better! Much appreciated!

@officedocsbot close


Introduce system property for lax PEM parsing.

Workaround requested in #1641 .

@dghgit Hey David, would you be so kind and take a look at this? This relates to our discussion in https://github.com/bcgit/bc-java/issues/1641

Merged with minor changes. Thanks for the patch.


Cargo-concordium: output to concordium-out/module.wasm.v1 by default

Description
Cargo concordium should output the wasm module to PROJECT_ROOT/concordium-out/module.wasm.v1 by default, as it is cumbersome and error-prone to write manually all the time. Where PROJECT_ROOT is the folder with the manifest file (Cargo.toml).
All of our example contracts with integration tests require this location anyhow and we also recommend it in our developer documentation.
The only downside is that it is a breaking change.

I don't think it should be ./.... cargo-concordium can be run from other places, e.g., inside src directory.
If anything it should be relative to the location of the manifest file.

Good point. I've amended the description.


Add an option on settings to always show the bottom bar and top bar

Summary
Add an option on settings to always show the bottom bar and top bar.
I don't like this thing that hide the bottom and top bar when we scroll the feed. So I think this should be optional.
Thanks.

It's on the list.
In the meantime you can long-press on feed title on Home tab and it will toggle on/off focus mode. The change is saved per session and once app gets killed (by user or system) it will revert to default.

Fixed.


Adding cirkit_unit03_common/navigation/robot/simulator to documentation index for distro

I'd like to cirkit_unit03_common, cirkit_unit03_navigation, cirkit_unit03_robot and cirkit_unit03_simulator to be indexed and documented on ros.org.

You cannot just hand write the release: section if you want to release these packages, i.e. have them built into .deb files on our build farm. If you want to do that, then you need to run our release tool called bloom, see the tutorial: http://wiki.ros.org/bloom/Tutorials/FirstTimeRelease
If you just want documentation generated for use on the wiki, then simply remove the release: part of each of your entries, following this tutorial: http://wiki.ros.org/rosdistro/Tutorials/Indexing Your ROS Repository for Documentation Generation

Thanks, that looks good for just documentation. As I said before if you'd like us to build binaries, you just need to follow the bloom tutorials. 🍾

Thank you for your advice. I just wanted documentation as you mentioned here. I'll refer the bloom tutorial if I need it in the future.