小编Saf*_*wan的帖子

Google Colab 笔记本是否与笔记本作者共享我的云端硬盘数据?

我正在学习在线教程,导师提供了 Google Colab 笔记本作为补充。但是每当我从笔记本运行任何单元时,我都会收到如下警告消息:

警告:此笔记本并非由 Google 创作。本笔记本由 xyz@gmail.com 创作。它可能会请求访问您存储在 Google 中的数据,例如文件、电子邮件和联系人。如果有任何其他问题,请查看源代码并通过 xyz@gmail.com 联系此笔记本的创建者。取消按钮。无论如何运行按钮。

  1. 这是否意味着 Colab 笔记本的作者可以访问我的文件、电子邮件和联系人等数据?

  2. 如果是,有什么方法可以阻止作者访问我的数据吗?

  3. 警告消息表明它可能请求访问。这是否意味着如果/当笔记本想要访问数据时,它会通过弹出窗口询问我的许可?

  4. 警告消息要求我查看源代码。但我到底应该在源代码中寻找什么?

我尝试谷歌搜索但没有得到任何答案。

预先非常感谢。

gpu google-drive-api tensorflow google-colaboratory

9
推荐指数
1
解决办法
4931
查看次数

警告:与项目':app'中的依赖项'junit:junit'冲突.app(4.11)和test app(4.12)的已解决版本

我正在尝试解决两个错误:

  1. 无法解析符号'test'
  2. 无法解析符号'AndroidJUnit4'

在我的Android Studio项目中运行集成测试.为了解决这个问题,我已经看到了一些答案,我的build.gradle看起来像:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion '25.0.0'

    defaultConfig {
        applicationId "com.ps.comunio.comuniops"
        minSdkVersion 15
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        debug {
            debuggable true
        }
    }
    compileOptions.with {
        sourceCompatibility = JavaVersion.VERSION_1_7
        targetCompatibility = JavaVersion.VERSION_1_7
    }
    lintOptions {
        abortOnError false
    }

}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.11'
    compile 'com.android.support:appcompat-v7:23.1.1'
    compile 'com.android.support:design:23.1.1'
    compile 'com.loopj.android:android-async-http:1.4.9'
    compile 'info.cukes:cucumber-java:1.2.0'
    compile 'info.cukes:cucumber-junit:1.2.0'
    androidTestCompile …
Run Code Online (Sandbox Code Playgroud)

testing junit dependencies android android-gradle-plugin

4
推荐指数
2
解决办法
1635
查看次数