Chenchao Zhao

Results 17 comments of Chenchao Zhao

yi dome wifi strength is only 7%

I tried @pbix 's method. it still didn't work. i pinged the camera ip and it was connected. then i tried ssh to it but it refused. the webpage did...

wifi strength on yi home is 140% but on yi dome is only 7%. they are in the same network same room. streaming on yi dome is not working

``` ds = datasets.Dataset.from_dict(dict(a=[i for i in range(100)])) ds.map(lambda item: dict(b=item['a'] * 2), cache_file_name="/tmp/whatever-fn") # this worked ds.map(lambda item: dict(b=item['a'] * 2), cache_file_name="/tmp/whatever-folder/filename") # this failed ds.map(lambda item: dict(b=item['a'] *...

same thing happened to other formats like parquet

``` class CustomConfig(transformers.PretrainedConfig) model_type = "custom" def __init__(self, in_features=1, out_features=1) self.in_features = in_features self.out_features = out_features class CustomModel(transformers.PretrainedModel) config_type = CustomConfig def __init__(self, config): super().__init__(config) self.f = nn.Linear(config.in_features, config.out_features) #...

Yes each of them works individually but they do not work together. Updated the minimum code above.

The model can be whatever custom model ``` class TestConfig(transformers.PretrainedConfig): model_type = "test_model" def __init__(self, d_model: int=None, n_class: int=None, bias: bool=True, **kwargs): super().__init__(**kwargs) self.d_model = d_model self.n_class = n_class self.bias...

Right that's what I was saying the tranformers custom model and diffusers custom pipeline can work independently but not together even though custom model is a subclass of pretrained model...